Homewizard P1

Can I connect Homewizard P1 to smartthings?

They have a published API, so it should be possible, but I donā€™t think anyone has done the work for an integration yet. It will require significant custom code, and it will probably require an additional server device as well.

So I think itā€™s doable (people on other home automation platforms have created integrations for both home assistant and homebridge), but I havenā€™t heard of anyone working on an integration for the new SmartThings architecture yet. :thinking:

1 Like

I made a driver a while back:

https://github.com/danieldk/homewizard-energy

Still need to clean it up and add proper installation instructions, but Iā€™ve been using it for a couple of months.

3 Likes

Hello Daniel,
2 Dutch people who communicate in English, but thatā€™s how everyone understands itšŸ˜Š.
the link with the script does not work.
I have 2 more questions

  1. At HomeWizzard you can have their own thermostat switch based on energy price, is this also possible in your script?
    2 I donā€™t know if itā€™s possible, and Iā€™m a layman, but can you send this script to me?

I forgot to make the repo public, it should work now.

Currently the only functionality that is supported is reading out the electricity values of the smart meter. We donā€™t have gas (we bought a heat pump), so I canā€™t test the gas readings. They should be easy to add through (the names of the keys are in the Homewizard API docs).

1 Like

@danieldk Another dutch person here. I am a software developer just never worked with stuff for SmartThings but I really want to integrate this. I do have solar panels. Can you give me some tips on how I can contribute or would you have some time to run me through the basics so I can contribute?

I am afraid Iā€™m not going to be of much help. I havenā€™t learned Lua or the SmartThings APIs. I just hacked this together one night by modifying some other code.

All I can say is: use the Homewizard API docs to find the keys for the stats that you want to add and add them to the source code.

1 Like

@danieldk When I click the channel link I get 403 forbidden.

If other people visit this page and want to know if this works. As of yesterday i downloaded the git files from @danieldk and manged to create a channel with the smartthings CLI and upload the package as is. Now the specific measurements per phase dont work when a phase has negative consumption (-x watts) because of solar panel production. But the total definetly does work so it is possible to trigger devices based on power production.

1 Like

Hi @danieldk , I get the message ā€œforbidden 403ā€, could it be that your channel is no longer public?

@Fabian_Wijne Can you share the link to your channel?

I donā€™t have a public channel I just downloaded the git repo and look for a guide to upload it.