this post was submitted on 04 Sep 2023
8 points (90.0% liked)
Aotearoa / New Zealand
1657 readers
4 users here now
Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general
- For politics , please use !politics@lemmy.nz
- Shitposts, circlejerks, memes, and non-NZ topics belong in !offtopic@lemmy.nz
- If you need help using Lemmy.nz, go to !support@lemmy.nz
- NZ regional and special interest communities
Rules:
FAQ ~ NZ Community List ~ Join Matrix chatroom
Banner image by Bernard Spragg
Got an idea for next month's banner?
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@eagleeyedtiger@lemmy.nz I got my Arlec plug working with LocalTuya, thanks for the help!
It looks like cumulative power use is still an issue - as in it can tell me how much power is being used right now, but can't say how much has been used today so far. In the thread you linked they had the same issue, so perhaps this plug doesn't support it.
Does Home Assistant support some way of doing this manually? If we have the history, is there a template that can sum the history for a certain period or anything like that? I think because it's poling it wouldn't be super accurate but it might be something.
That's great! From that thread, it sounds like the cloud based app integration does have that feature. I don't have any of these devices so can't play around with it.
It looks like the Utility Meter integration is the way to go. But you could also setup your own Template sensors to sum it up, here's a couple of threads that could lead you down the right track:
https://community.home-assistant.io/t/how-to-sum-energy-and-power-sensors/172779
https://community.home-assistant.io/t/power-consumption-sum-of-multiple-sensors-entities/266660
I can't be of more help than that, as I don't use any power monitoring at the moment!
Thanks for pointing out the Utility Meter integration. So much to learn!
Unfortunately, I spoke a bit too soon. It seems to display current ok, but power just shows as 0W all the time, and voltage was previously showing ok but now is just constantly saying 1.0V. Gonna have to play around a bit more.
Maybe something to do with the polling? I notice under the documentation for LocalTuya in the section "Energy monitoring values":
Thanks, I'll have another read of the docs. I've messed something up, values don't seem to be updating anynore and turning it on/off doesn't work, though it says it's connected.
I did work out I had the voltage set to the wrong sensor. So that got sorted once I fixed that.
Just leaving a comment for future reference, as I want to get some Arlec gear up and running via Tuya on HA in the near future :)
Check out this comment chain that has a lot more info.
P.S. you can save posts. On the website, click the dots next to the reply to comment button, and there's a star in there for saving. To find your saved posts, go to your profile page and there's a tab for it (only visible to yourself).
Ooh, didnt realise that was even available on Lemmy lol - Thank you for that, will come in handy :) And thank you for linking that other thread too
I have so many saved posts!