Emon and Home assistant integration - emoncms.org API query

Continuing the discussion from Emon and Home assistant integration:

I’m just raising a PR so that all the sensors can use the ‘unit’ in the API payload for each Feed, but I need some help from an emoncms.org user (I have messaged @TrystanLea but he may be busy)

I know the emoncms.org codebase is different and I wonder, does that ‘unit’ element appear in the emoncms.org API call?

Could a user of emoncms.org check for me please? If you can set the units in the Feed page, I suspect it does.

Actually doesn’t matter. I decided to test for the key existing as there may be users with older EmonCMS installs that may not have the item anyway. I like to make changes that do not break things!

1 Like

thumbsup thumbsup

1 Like