[PROJECT] Neurio/PWRView Home Energy Monitor Driver

Awesome! I was doing some searching on the HTML template, you're right and I found this: HTML tags being stripped in device attributes - #15 by thebearmay - that code may work too if needed within the drivers. Thanks for that.

Appreciate the rest, makes sense, I may add a function to calculate amperage (although you'll certainly understand the code-side better than me - i'm a power engineer, but if you have the time to implement this logic too - then you sir deserve a VERY happy new years!!!)

(Phase Current) = (Phase Power) / (Phase Voltage) - for example, this could be implemented per channel, published as another attribute, and call it a day.

i.e. 1000 w / 120 v = 8.33A on that phase.

--

I was going to also do the rounding code adjustments noted above. I think it's very reasonable to trim everything to 1 decimal point (or even ZERO decimal points at this accuracy level makes a lot of sense to me for both power and voltage, at least... current is nice to see at least one). Anyway that could also be in the main driver for others if anyone grabs it. No biggy, but my 2 cents too.

My LAST question is about polling rates. Is there any reason we can't go faster than 1 min? Would 1 second break things? I send all of of my hubitat data into a database, and basically want to recreate my own custom power views in grafana later - becuase the pwrview app is miserable.

Cheers and happy new years!