this post was submitted on 04 Sep 2023
8 points (90.0% liked)

Aotearoa / New Zealand

1635 readers
5 users here now

Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general

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
 

Welcome to today’s daily kōrero!

Anyone can make the thread, first in first served. If you are here on a day and there’s no daily thread, feel free to create it!

Anyway, it’s just a chance to talk about your day, what you have planned, what you have done, etc.

So, how’s it going?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (2 children)

@[email protected] 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.

[–] [email protected] 2 points 1 year ago (1 children)

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!

[–] [email protected] 2 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago (1 children)

Maybe something to do with the polling? I notice under the documentation for LocalTuya in the section "Energy monitoring values":

On some devices, you may find that the energy values are not updating frequently enough by default. If so, set the scan interval (see above) to an appropriate value. Settings below 10 seconds may cause stability issues, 30 seconds is recommended.

[–] [email protected] 2 points 1 year ago

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.

[–] [email protected] 2 points 1 year ago (1 children)

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 :)

[–] [email protected] 1 points 1 year ago (1 children)

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).

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 2 points 1 year ago

I have so many saved posts!