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