node-shellies icon indicating copy to clipboard operation
node-shellies copied to clipboard

energyCounter for Shelly4Pro

Open jghaanstra opened this issue 5 years ago • 2 comments

The Shelly4Pro also measure the total power usage per channel. Is it available under the coap protocol and if so, could this be added to the shellies library?

jghaanstra avatar Oct 07 '20 13:10 jghaanstra

I don't own a 4Pro myself and there isn't any documentation for it, so I don't know what properties it exposes over CoAP. You can run shellies description <ip-address> with the IP address of a 4Pro to see its properties though.

alexryd avatar Oct 16 '20 09:10 alexryd

I dont own the Shelly 4Pro myself. I'm implementing your library in the Shelly integration for the home domotica controller Homey. This app now uses the REST API and needs to poll devices. In the REST API this attribute is available and I'm hoping to replace it in your coap library: https://shelly-api-docs.shelly.cloud/#shelly4pro-meter-index

I have contacts with Allterco Robotics, I'll see if I can retrieve the coap documentation for the Shelly 4Pro.

jghaanstra avatar Oct 16 '20 11:10 jghaanstra