Electricity data not passed to Virtual Sensor by Node-RED

Moderator: leecollings

Post Reply
mash47
Posts: 13
Joined: Wednesday 04 December 2019 13:25
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.10717
Location: Sheffield, UK
Contact:

Electricity data not passed to Virtual Sensor by Node-RED

Post by mash47 »

Hello,
I'm trying to show data in a virtual Electric(Instant+Counter) sensor. The data is pulled in via MQTT from a remote server and the Node-RED output in the debug screen is ...

Code: Select all

11/10/2020, 20:25:35 node: 873abf91.f3419
SMART/HILD/************ : msg.payload : Object
{ command: "udevice", idx: 89, nvalue: 0, svalue: "511;13700450" }
However the data does not reach the sensor.

If I use this JSON command

Code: Select all

http://192.168.178.41:8080/json.htm?type=command&param=udevice&idx=89&nvalue=0&svalue=123;456789000
the sensor shows the data.

I've even tried using a TEXT 'sensor' to show the current time by using this example at ...
https://www.domoticz.com/wiki/Flows#Sen ... example.29
provided by MinderGas and this doesn't work either.

Any debug suggestions would be greatly appreciated.
mash47
Posts: 13
Joined: Wednesday 04 December 2019 13:25
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.10717
Location: Sheffield, UK
Contact:

Re: Electricity data not passed to Virtual Sensor by Node-RED

Post by mash47 »

***************** FIXED *****************

In the 'MQTT Client Gateway with LAN interface' Remote Address field I'd entered the remote server info instead of localhost.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests