HomeWizard Energy (Wi-Fi P1 meter, kWh meter, Energy Socket and Water Meter)

Hello, The IDs were indeed misnamed, but I still have an error in my log. Maybe you have an idea from where this error comes from ?

1 Like

I think it has something to do with the order of loading: The integration was not loaded but the template tried to render, with this warning as result.
You could try to add a default value (as you can see in in the message), but better ask this in a topic/discord channel about templating, I am sure they can help you out.

@DCSBL, what is the state of the latest beta (0.11.0-beta-1)? Last change was 8 days ago :see_no_evil:

@Abeltje, is in beta to see if there are any issues in the field. For now I don’t think there are any changes needed for this version, but lot of small things are changed. I hope/expect that users that select a beta version notify me when there are problems. Why are you asking?

1 Like

Allright. Asking because previous beta versions were updated pretty quick to a new build. Just wondering if this version is almost in a stable fase :slight_smile:

Any known issues with HomeAssistant Energy combined with the HomeWizard P1 in regards to Gas meter usage ? When I try to add my Gas usage to the Energy dashboard, I can (ofcourse) only select Total Gas. And then Home Assistant tells me somethings wrong.
I did update the Homewizard integration, and now it doesn’t show an error anymore (hope that fixed it).

You did exactly what you had to do. Gas was added in a later version so your installation probably wasn’t up to date.

Yep, it’s working after the last update ! Awesome

1 Like

Recently I had problems with my conbee (zigbee) dongle and updating Home Assistant.
I have now solved the problem, but after updating HA it now appears that my Homewizzard integration no longer works.
Of course this has nothing to do with each other, but because of all the hassle, I’m not clear when the problem with homewizard arose.
I am using Home assistant via a virtual image in windows 10 on a NUC.
If I install the Homewizard integration, I get the message that the installation has been aborted after entering the IP number
I suspect this has to do with the fact that my P1 and the kWh (192.168.4.xx) meter are in a different network than my home assistant. (192.168.1.xx)
Previously, however, this was not a problem.
Tips and tricks are welcome

@Plaatjesdraaier, Try to see if you can ping the energy devices from your NUC and if so, the API is reachable (http://<ip_address>/api/v1/data). Also make sure ‘everything’ is up-to-date.

1 Like

Thanks for the tip.
I can’t ping the P1 and the kWh meter, but before this it worked even though no changes have been made in my network.
Other smart components are also in the same network as the home wizard and cannot be pinged either, but they do work
All my smart stuff is in an dedicated network while HA is in my home (user) network

If you can’t ping it, it is a network issue or the device is just not available on that IP. Try to see if you can ping them in the same subnet and make sure the devices are online (according to your router) and the IP address is as you expect.

I figured out why I couldn’t ping the P1.
The VPN on the NUC (PIA) blocked it
Pinging now works, but I can’t access the api yet.

I tried to reinstall the integration but now I get this strange error message ;
Je gebruikt Home Assistant versie ‘2021.10.6’, echter deze repository vereist dat minimaal versie ‘2021.11.0b0’ is geïnstalleerd.
Back to the future ?

2021.10.6 is older than 2021.11.0b0. The latest integration version (0.12.0-beta-1) is a new version that implements a feature that will be release in Home Assistant 2021.11. You can install version 0.11.0 manually by selecting ‘reinstall’ in HACS.

1 Like

I know, but 2021.11.0 is/wasn’t published yet.
Nevertheless, the reinstall was successful, but the error message (Aborted) remains when I try to add the meters.
Both P1 and the kWh meter are pingable, but I get ‘page not available’ when I enter http://192.168.4.2/api/v1/data in the browser. I still don’t understand why it suddenly stopped working

:tada:
With the release of Home Assistant 2021.11 a new feature called ‘Entity Categorization’ is introduced. I’ve implemented this feature in version 0.12.0. Again, feel free to let me know if you find any issues.

Fun fact; This integration currently has more than 210 active users which is a LOT for a custom integration. It is awesome to see that so many people use this project. I would love to have this integration being added to core to make the initial setup even easier. If you are a developer, please take a moment to review this pull request to get this integration ready for core :slight_smile: .

2 Likes

Hello. I’m really loving this product!

But for some reason my P1 meter doesn’t log any energy stats during the weekends. Gas seems to be fine. I don’t really know how to troubleshoot this.

I have one log entry:

Deze fout is ontstaan door een aangepaste integratie.

Logger: custom_components.homewizard_energy.coordinator
Source: helpers/update_coordinator.py:219
Integration: Homewizard Energy (documentation, issues)
First occurred: 02:03:57 (1 occurrences)
Last logged: 02:03:57

Error fetching P1 meter data:

(I don’t find more info)

It seems to have stopped logging Fri 12 Nov at 21:59:49. I do seem to have this problem consistently every weekend:

Any tips on where I could start looking or some advice? I’m sorry if this is incorrectly posted. I’m just starting with Home Assistant since last month (I have energy meter, ~ 50 Zigbee devices connected through Zigbee2MQTT, Frigate AI detection (adding Coral soon) and really enjoying it. But this is the first thing I can’t seem to solve…

Thanks!

Just to give a wild guess; do you maybe have something configured in your router that disables or puts your WiFi in a low power mode at 22:00 in the weekend? Or maybe during the weekend there are to many devices online or something.

That would not explain why gas still works but I can’t think of anything else. Did you try the usual stuff like updating and rebooting? There was an issue recently with daylight saving.