# Homewizard P1

**URL:** <https://community.smartthings.com/t/homewizard-p1/281537>\
**Category:** Devices & Integrations\
**Created:** [May 3, 2024, 10:37am UTC](https://community.smartthings.com/t/homewizard-p1/281537 "2024-05-03T10:37:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronald](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ronald/32/158466_2.png) [@Ronald](https://community.smartthings.com/u/Ronald)\
**Post date:** [May 3, 2024, 10:37am UTC](https://community.smartthings.com/t/homewizard-p1/281537/1 "2024-05-03T10:37:07Z")

</div>

Can I connect Homewizard P1 to smartthings?

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [May 3, 2024, 11:33am UTC](https://community.smartthings.com/t/homewizard-p1/281537/2 "2024-05-03T11:33:28Z")

</div>

> [@Ronald](#):
>
> 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. 🤔

> **[Integrating Energy with other systems (API) | HomeWizard Helpdesk](https://helpdesk.homewizard.com/en/articles/5935977-integrating-energy-with-other-systems-api)**
>
> How to enable and develop with the Energy API

---

<div class="post-metadata">

**Author:** ![danieldk](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/danieldk/32/197693_2.png) [@danieldk](https://community.smartthings.com/u/danieldk)\
**Post date:** [May 6, 2024, 6:33am UTC](https://community.smartthings.com/t/homewizard-p1/281537/3 "2024-05-06T06:33:57Z")

</div>

I made a driver a while back:

[https://github.com/danieldk/homewizard-energy](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.

 ![Screenshot 2024-05-06 at 08.32.54](https://global.discourse-cdn.com/smartthings/original/3X/f/f/fffaf40ba3d905bd9c47cf55a699920c6b98237a.png)

---

<div class="post-metadata">

**Author:** ![Ronald](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ronald/32/158466_2.png) [@Ronald](https://community.smartthings.com/u/Ronald)\
**Post date:** [May 6, 2024, 10:02pm UTC](https://community.smartthings.com/t/homewizard-p1/281537/4 "2024-05-06T22:02:19Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![danieldk](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/danieldk/32/197693_2.png) [@danieldk](https://community.smartthings.com/u/danieldk)\
**Post date:** [May 7, 2024, 6:05am UTC](https://community.smartthings.com/t/homewizard-p1/281537/5 "2024-05-07T06:05:47Z")

</div>

> [@Ronald](#):
>
> the link with the script does not work.

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

---

<div class="post-metadata">

**Author:** ![Fabian\_Wijne](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/fabian_wijne/32/126813_2.png) [@Fabian\_Wijne](https://community.smartthings.com/u/Fabian_Wijne)\
**Post date:** [May 16, 2024, 4:59pm UTC](https://community.smartthings.com/t/homewizard-p1/281537/6 "2024-05-16T16:59:00Z")

</div>

@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?

---

<div class="post-metadata">

**Author:** ![danieldk](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/danieldk/32/197693_2.png) [@danieldk](https://community.smartthings.com/u/danieldk)\
**Post date:** [May 18, 2024, 1:06pm UTC](https://community.smartthings.com/t/homewizard-p1/281537/7 "2024-05-18T13:06:58Z")

</div>

> [@Fabian\_Wijne](#):
>
> @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](https://api-documentation.homewizard.com/docs/endpoints/api-v1-data) to find the keys for the stats that you want to add and add them to the source code.

---

<div class="post-metadata">

**Author:** ![Fabian\_Wijne](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/fabian_wijne/32/126813_2.png) [@Fabian\_Wijne](https://community.smartthings.com/u/Fabian_Wijne)\
**Post date:** [May 19, 2024, 10:07am UTC](https://community.smartthings.com/t/homewizard-p1/281537/8 "2024-05-19T10:07:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Fabian\_Wijne](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/fabian_wijne/32/126813_2.png) [@Fabian\_Wijne](https://community.smartthings.com/u/Fabian_Wijne)\
**Post date:** [May 22, 2024, 6:59am UTC](https://community.smartthings.com/t/homewizard-p1/281537/9 "2024-05-22T06:59:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Bald-Har](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/bald-har/32/209056_2.png) [@Bald-Har](https://community.smartthings.com/u/Bald-Har)\
**Post date:** [June 26, 2024, 6:52am UTC](https://community.smartthings.com/t/homewizard-p1/281537/10 "2024-06-26T06:52:23Z")

</div>

Hi @danieldk , I get the message “forbidden 403”, could it be that your channel is no longer public?

---

<div class="post-metadata">

**Author:** ![Bald-Har](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/bald-har/32/209056_2.png) [@Bald-Har](https://community.smartthings.com/u/Bald-Har)\
**Post date:** [June 26, 2024, 6:53am UTC](https://community.smartthings.com/t/homewizard-p1/281537/11 "2024-06-26T06:53:36Z")

</div>

@Fabian_Wijne Can you share the link to your channel?

---

<div class="post-metadata">

**Author:** ![Fabian\_Wijne](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/fabian_wijne/32/126813_2.png) [@Fabian\_Wijne](https://community.smartthings.com/u/Fabian_Wijne)\
**Post date:** [June 26, 2024, 8:08am UTC](https://community.smartthings.com/t/homewizard-p1/281537/12 "2024-06-26T08:08:58Z")

</div>

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

> **[Driver Channels | Developer Documentation | SmartThings](https://developer.smartthings.com/docs/devices/hub-connected/driver-channels)**
>
> Driver Channels are used to group SmartThings Edge Device Drivers and share access to them with other users. The drivers contained within the driver channel are locked to a specific version, allowing you to make changes to your drivers without...

---

<div class="post-metadata">

**Author:** ![Roy\_K](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/roy_k/32/185028_2.png) [@Roy\_K](https://community.smartthings.com/u/Roy_K)\
**Post date:** [December 8, 2024, 10:19am UTC](https://community.smartthings.com/t/homewizard-p1/281537/13 "2024-12-08T10:19:14Z")

</div>

I also get the same error mentioned above. But i am not so home in this it stuff…  
I will give it a try.

---

<div class="post-metadata">

**Author:** ![Roy\_K](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/roy_k/32/185028_2.png) [@Roy\_K](https://community.smartthings.com/u/Roy_K)\
**Post date:** [December 14, 2024, 4:15pm UTC](https://community.smartthings.com/t/homewizard-p1/281537/14 "2024-12-14T16:15:58Z")

</div>

> [@Fabian\_Wijne](#):
>
> n’t have a public channel I just downloaded the git repo and look for a guide to upload it.

Hoi Fabian,  
Can you please explain to me in “lay language” what (steps) I need to do to get it running. all is abra cadabra for me… ☹ but I’d like to get it connected too… 😃 Thanks!

---

<div class="post-metadata">

**Author:** ![Fabian\_Wijne](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/fabian_wijne/32/126813_2.png) [@Fabian\_Wijne](https://community.smartthings.com/u/Fabian_Wijne)\
**Post date:** [December 14, 2024, 4:32pm UTC](https://community.smartthings.com/t/homewizard-p1/281537/15 "2024-12-14T16:32:18Z")

</div>

Hello Roy, you need to download the repo mentioned above and then search for a guide on how to upload your own drivers to your personal SmartThings hub. It’s a bit much to explain here but there are very detailed steps online.

---

<div class="post-metadata">

**Author:** ![Roy\_K](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/roy_k/32/185028_2.png) [@Roy\_K](https://community.smartthings.com/u/Roy_K)\
**Post date:** [December 14, 2024, 5:09pm UTC](https://community.smartthings.com/t/homewizard-p1/281537/16 "2024-12-14T17:09:53Z")

</div>

I will try to search for it, in case you happen to have a link with good explantion, I would be very happy if you could share it.  
Does it involve anything with Smarthings CLI? As this is not working for me… (force closes when i try to launch on my old windows10 machine.)

---

<div class="post-metadata">

**Author:** ![Fabian\_Wijne](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/fabian_wijne/32/126813_2.png) [@Fabian\_Wijne](https://community.smartthings.com/u/Fabian_Wijne)\
**Post date:** [December 14, 2024, 5:25pm UTC](https://community.smartthings.com/t/homewizard-p1/281537/17 "2024-12-14T17:25:58Z")

</div>

@Roy_K yeah I did use the CLI use these steps here [Create a SmartThings Edge Driver for an IoT bulb | Samsung Developer](https://developer.samsung.com/codelab/smartthings/edge-driver.html#)

If you download the git repo you basically start from step 4 you don’t have to program anything but it will teach you how to create and upload your custom driver. Since you downloaded the repo you are finished with the development steps and just continue with the uploading part.

Now it’s good to ask chat gpt to explain to you what the command prompt commands do so you understand what is happening. If it doesn’t work out I can check if I can make my driver public or share it with you.

---

<div class="post-metadata">

**Author:** ![Roy\_K](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/roy_k/32/185028_2.png) [@Roy\_K](https://community.smartthings.com/u/Roy_K)\
**Post date:** [December 14, 2024, 9:17pm UTC](https://community.smartthings.com/t/homewizard-p1/281537/18 "2024-12-14T21:17:39Z")

</div>

Thank you! Finally I managed 🙂

It took me some time to understand.  
First I tried running Smartthings.exe…and that did not work, so I thought that Smartthings.exe did not run as I’d need to download Node.js.

Only later (via your link and clear explanation) I found out that I needed to work from cmd, entering code there; this was not so visible for me in the screenshots presented (I am clearly not an IT person, 🙈 hahaha).  
But with that, and your help it is now finally connected to SmartThings app, whoohoow!

Otoh, it is not yet presented in Energy; would that also be possible?  
(maybe not, so far I am already happy 🙂

---

<div class="post-metadata">

**Author:** ![Fabian\_Wijne](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/fabian_wijne/32/126813_2.png) [@Fabian\_Wijne](https://community.smartthings.com/u/Fabian_Wijne)\
**Post date:** [December 14, 2024, 10:58pm UTC](https://community.smartthings.com/t/homewizard-p1/281537/19 "2024-12-14T22:58:25Z")

</div>

In my previous post i gave an update on what does work and what doesn’t but the total energy consumption of your house should be available just not the phase specific measurements.

---

<div class="post-metadata">

**Author:** ![Fabian\_Wijne](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/fabian_wijne/32/126813_2.png) [@Fabian\_Wijne](https://community.smartthings.com/u/Fabian_Wijne)\
**Post date:** [December 15, 2024, 5:01pm UTC](https://community.smartthings.com/t/homewizard-p1/281537/20 "2024-12-15T17:01:54Z")

</div>

@Roy_K if you see the device now in your SmartThings app you still need to edit it’s settings and set the IP address. Open the device in your app and select the 3 dots and go to settings. To find the IP adress of your home Wizard go to your router and check the list for connected devices. Also in home Wizard you might also need to enable local API not sure if that is on by default.

These steps are also available in @danieldk original git.

[Next page](https://community.smartthings.com/t/homewizard-p1/281537.md?page=2)
