I’ve setup the emonpi to log data locally and remotely, all ok.
Got to the MQTT user guide, used SSH to test publish and subscribe in two windows. One window open for publish, one for subscribe. In don’t know why this test isn’t working
mosquitto_sub -v -u emonpi -P emonpimqtt2016 -t test
result:
-bash: mosquitto_sub: command not found
Looked at the admin and the emoncms and the service is active. All logs in the emonhub seem to be ok. I’m just not able to work out why mosquitto isn’t working.
Hi,
thanks for getting back to me.
I’ve tried cutting and pasting the command:
mosquitto_sub -v -u ‘emonpi’ -P ‘emonpimqtt2016’ -t ‘emon/#’
right click to paste into shh terminal, result=
-bash: mosquitto_sub: command not found
tried the following:
mosquitto_sub -v -u ‘emonpi’ -P ‘emonpimqtt2016’ -t ‘emon/emonpi/#’
right click to paste into shh terminal, result=
-bash: mosquitto_sub: command not found
tried the following:
mosquitto_sub -v -u ‘emonpi’ -P ‘emonpimqtt2016’ -t ‘test’
right click to paste into shh terminal, result=
-bash: mosquitto_sub: command not found