vinodsr / node-red-contrib-tuya-smart-device

a node-red module for managing tuya smart devices
https://flows.nodered.org/node/node-red-contrib-tuya-smart-device
MIT License
47 stars 15 forks source link

Getting Device Status #87

Closed CraXgt closed 2 years ago

CraXgt commented 2 years ago

Hi there! I've got an Energy Meter telling the current energy used only in a status-answer. Values are not stored in a datapoint. So what I'm trying to call is "GET /v1.0/iot-03/devices/xxxxId/status". Any chance to do it with these nodes?

cheers

hannoverRed commented 2 years ago

I have a similar problem here

msillano commented 2 years ago

It is certainly possible to receive data from Energy meters devices using node-red and this node. I'm using two Energy meters in a photovoltaic application, but about Energy Meter device I fond very different and strange behavior. I study 3 devices, two DIN rail, and one smart socket: all different. For details of known devices see https://github.com/msillano/tuyaDAEMON/tree/main/devices ( look at BreakerDIN, ACmeter, smart_socket).

Each Tuya device is a separate case (see tuya-devices-capabilities-as-currently-known ) but in general it can be said:

For me the best way is to "study" the capabilities of a new device, perhaps with the help of tuyaDaemon-toolkit, and once you have identified all the capabilities of the individual dataPoints, try the code with node-red.

Regards, I hope I have provided some help. m.s.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

Auto closing the issue