Closed dannuttall closed 7 years ago
Sorry not an issue - this happened due to node.js being out of date or something. Took me ages to work it out! I knew MQTT was working fine as mosquitto was picking up on my owntracks data, so I guessed it was due to node, even though everything seemed to keep on installing properly. I followed these instructions to get the appropriate version installed. https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=130217
After that it worked.
Hi, I've been using this on my laptop running ubuntu 16.10 and it's working great. Can't fault it! However, I've decided it's time to move to a RP3.
Having set it all up the process runs fine when I run the command:
./bin/hue-mqtt-bridge
It also runs fine when I run the command:
pm2 start index.js --name hue-mqtt-bridge
When I then listen for the topics using:
mosquitto_sub -h localhost -p 1883 -u pi -P raspberry -v -t '#'
nothing gets returned. I set it up exactly the same way as on my laptop so I'm a bit stumped. I've double checked the config.json settings - they also use "pi/raspberry" log in details and the hue username is definitely the same as in phue.confIs there any way to find out what's going wrong?