Shelly Device Handlers for Hubitat

That's it and the link helps a ton. Probably should've thought to check it earlier (there's a daggum link inside the driver page).

This is all for getting it to work with my energy cost app where I'm expecting a kWh value. I'm doing similar to what I presume they are. I'm setting the energy value at the start of the day to a variable and using that as a reference point to get energy use for today. I'm also storing the last value to compare to the current value to get the change amount between readings for calculating cost (to account for differing costs throughout the day). I have some logic in there to account for a reset.

1 Like