Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Assistant queries - can you help? #4

Open
tarmacalastair opened this issue Apr 17, 2024 · 2 comments
Open

Home Assistant queries - can you help? #4

tarmacalastair opened this issue Apr 17, 2024 · 2 comments

Comments

@tarmacalastair
Copy link

I don't really use HA but came across your project in my attempts to get my meter readings into Domoticz (failed so far just in case you have any thoughts).

Anyway, I built an HA instance on a Pi to try this out and have a few questions:

  • It looks like the formatting in the /homeassistant/configuration.yaml file has changed and now needs to be written like this:

mqtt:
sensor:
- name: glow_energy_today
state_topic: "glowmarkt/elecconsumptiontoday"
unit_of_measurement: 'kWh'
device_class: energy
state_class: total_increasing

  • I now get a bar chart like you show in your README but the readings seem to be very sporadic, showing big gaps like in the attached graphic. The graphs in the Bright mobile phone app (also attached) look OK with usage shown spaced through the day. The totals for the day so far agree but not the hourly usage. Any thoughts?
  • So, I get a barchart but how do you get the fancy graphic shown above the chart?
    Screenshot 2024-04-17 at 17-23-00 Energy – Home Assistant
    BrightAppScreenshot_20240417-171912

Thanks for all the work.

@danmed
Copy link
Owner

danmed commented Apr 17, 2024

HI there.. really sorry.. I havn't looked at this code in a long time since i now use the Octopus mini (which integrates directly with HA)

I do recall though that at times bright wouldn't receive the data in a timely manner and i'd end up with gaps like that.

@tarmacalastair
Copy link
Author

That's OK, never mind. I've just ordered the Hildebrand CAD unit which should give instant access to readings like the Octopus mini instead of relying on querying the DCC. But I was hoping to get this working in the meantime and also in principle for people who don't want to shell out for an extra device.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants