Jump to content

Monitoring via MQTT: Difference between revisions

Undo revision 41241 by Marius (talk)
m (Wrong port)
(Undo revision 41241 by Marius (talk))
Line 87: Line 87:


'''Subscribe:'''
'''Subscribe:'''
  $ mosquitto_sub -h 192.168.1.1 -p 1883 -u user -P pass -t router/id
  $ mosquitto_sub -h 192.168.1.1 -p 1833 -u user -P pass -t router/id


'''Publish:'''
'''Publish:'''
  $ mosquitto_pub -h 192.168.1.1 -p 1883 -u user -P pass -t router/get -m id
  $ mosquitto_pub -h 192.168.1.1 -p 1833 -u user -P pass -t router/get -m id




0

edits