Hi Gebhard,
I've been playing with your excellent mqtt scripts trying to get the combined to work from https://github.com/gebhardm/flmdisplay , but with no luck.
I have the following displayed when starting the node:
www:combined vk2him$ node serve_flmdata.js
Database flm successfully connected
Detected MQTT service on: 192.168.1.73:1883
Create/connect to config table successful...
Create/connect to data table successful...
However when I navigate to localhost:1080 I get the following displayed
Latest MQTT message: no message received
The mysql table is also empty.
I can connect fine with mosquito with no problem as you can see:
www:combined vk2him$ mosquitto_sub -h 192.168.1.73 -p 1883 -v -t /sensor/#
/sensor/c7c90d029e018769b5fb26380c369845/counter [1428230773,924264,"Wh"]
/sensor/c7c90d029e018769b5fb26380c369845/gauge [1428230775,590,"W"]
/sensor/c7c90d029e018769b5fb26380c369845/gauge [1428230776,586,"W"]
/sensor/c7c90d029e018769b5fb26380c369845/gauge [1428230777,596,"W"]
/sensor/c7c90d029e018769b5fb26380c369845/gauge [1428230778,588,"W"]
/sensor/c7c90d029e018769b5fb26380c369845/counter [1428230779,924265,"Wh"]
As well as the latest versions, I have even tried installing an older 0.9 version of socket.io but it fails too:
npm install socket.io@"~0.9.1"
I have tried your other older scripts by using the 0.9 version of socket.io but I always get this:
Latest MQTT message: no message received
So I was wondering if I have done something wrong, or if my FLM needs something else to make it work? I am running Version 2.32
Thanks
Ian