Plugin - Homewizard

Python and python framework

Moderator: leecollings

smaus
Posts: 84
Joined: Sunday 18 February 2018 9:32
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by smaus »

:D top its working :lol:

Thanks
MrPenthouse
Posts: 2
Joined: Tuesday 06 March 2018 21:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by MrPenthouse »

Wow, this did not even cost me more than a minute and it worked straight away! Excellent job and now my HomeWizard has an extended live, much thanks!
webmagic
Posts: 2
Joined: Monday 19 February 2018 20:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by webmagic »

I like this plug-in very much! Will there be support for the Smartware XQ-lite Led lamps which are using 868 mhz. I would like to set the lamp dim setting via Domoticz.
WWortel
Posts: 1
Joined: Sunday 06 May 2018 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by WWortel »

Hi,
This plugin looks very promising!!! I hope you can help me getting the plugin up-and-running.

Version: Linux raspberrypi 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l GNU/Linux
Beta Domoticz Version: 3.9389-
dzVents Version: 2.4.5
Python Version: 3.5.3
Platform: Raspberry 3B+

I’ve installed the plugin and did a setup of the hardware Homewizard. I get this message: ‘Homewizard created, devices can be found …’ :D
When I go to devices, I get this message: ‘Problem retrieving devices!’ :?
When I go back to hardware, the homewizard I just created is not shown anymore and Homewizard can’t be selected anymore for a new setup of hardware.
To be able to start it correctly again I did: mv plugin.py plugin.py.old Now I can start and remove the created hardware of homewizard in domotics. Next I do a Restart and I’m back to where I started.

Note when I start it via ./domotics, then I see this message:
2018-05-06 14:52:09.993 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: bind: Permission denied
2018-05-06 14:52:09.993 Error: WebServer(SSL) check privileges for opening ports below 1024
(I don’t see this message in logs when starting via sudo service domoticz.sh start)
I also tried running the stable version (3.8153). However then I’m not able to setup the Homewizard hardware.

I hope somebody has a clue what is going wrong.

Regards,
WWortel
TheCub3
Posts: 30
Joined: Saturday 24 February 2018 18:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by TheCub3 »

hi,

i did the steps:
cd domoticz/plugins
git clone https://github.com/rvdvoorde/domoticz-homewizard.git
sudo systemctl restart domoticz
and i see in my raspbian,
raspbian.jpg
raspbian.jpg (13.63 KiB) Viewed 3622 times
but i dont see in in Hardware antthing of homewizard ?,i already try a reset in domoticz

i use the beta version that is needed but i see in the log
2018-06-11 19:33:36.208 Status: Domoticz V3.9625 (c)2012-2018 GizMoCuz
2018-06-11 19:33:36.209 Status: Build Hash: 529bd73d, Date: 2018-06-11 06:30:28
2018-06-11 19:33:36.209 Status: Startup Path: /home/pi/domoticz/
2018-06-11 19:33:36.390 Status: EventSystem: reset all events...
2018-06-11 19:33:36.391 Status: PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
i think that is the problem but how can i make sure that the library is running correct ?
what am I doing wrong ?

update,
solved the problem, if you also got the same error like above go to Putty and install manual Python with the commando sudo apt-get install python3-pip




tnx,

A,
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Plugin - Homewizard

Post by Sjonnie2017 »

Hi,

I don't want to double post but I am having problems with the HomeWizard plugin since I rebooted my device this morning. Please refer to this post (viewtopic.php?f=6&t=24623) for more information.

Can anyone shed some light on this issue?

TIA

Greetz,

Sjonnie

EDIT
Got the latest version from git and replaced it with old plugin.py. Problem solved :mrgreen:
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Plugin - Homewizard

Post by Sjonnie2017 »

Got another question for the more experienced (then me :roll: ) HomeWizard-Domoticz users: I have added a switch (code disks) to my HomeWizard. It works and can be controlled by it. Unfortunately the switch does not show up in Domoticz. Even though I changed the full update interval to once every 15 minutes.

Any ideas?

Greetz,

Sjonnie
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Plugin - Homewizard

Post by Sjonnie2017 »

Friendly bump :)

Anyone any idea?

EDIT: I have been investigating all possibilities to get the device list updated. Unfortunately I could not get that to work. Finally decided to remove the HomeWizard from Domoticz and added it again; knowing I would have to recreate the devices and configurations :cry: The missing device is now added. So for now I will think twice before adding extra devices to the HomeWizard ;)
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
micronikje
Posts: 1
Joined: Friday 04 January 2019 16:13
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by micronikje »

Hi,

Can anyone tell me how to install the homewizard plugin on a qnap nas ts-453a?

I use domoticz V4.9701
Build Hash: b47a877f
Build Date: 2018-06-23 16:27:56

I am a newbie to this.
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Plugin - Homewizard

Post by Sjonnie2017 »

SSH into your QNAP and find the Domoticz folder. If found, you can place the plugin in the plugin folder. That should do the trick.

Refer to the posts in this thread for folder naming convention and other tips.

HTH
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
ngauruhoe
Posts: 7
Joined: Sunday 26 July 2015 19:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by ngauruhoe »

Hi, I installed domoticz on my synology nas (using the wiki 'easy way') and subsequently added the Homewizard plugin. Sole purpose to try to use my GoogleHome for voice control as follows: GoogleHome->Controlicz->Domoticz->HomeWizard Plugin-> Device. For now it's more an experiment to see if I can get this working.

So, I have not connected any 433 hardware to my NAS for Domoticz's use since, for now/time being, I only want to use the HomeWiz plugin.

From the start of this post I understand I should now be able to see (most) of my Homewiz connected devices. Right? I'm not able to find them. In the add light/switch window I cannot find anything that looks like my devices.

I'm probably missing something here. Please help me out.

Thanks a bunch!

Mike
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Plugin - Homewizard

Post by Sjonnie2017 »

Hi Mike,

Don't want to be rude but that problem has been covered in this thread. You should place the plug-in in the appropriate folder (try to ssh into your Syno) and make sure you give the folder the proper name.

Edit: see my first post on page 4

Restart Domoticz and you should see your devices.

Good luck!

Regards,

Sjonnie
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
ngauruhoe
Posts: 7
Joined: Sunday 26 July 2015 19:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by ngauruhoe »

No offence taken. Apparently my 'and subsequently added the Homewizard plugin' wasn't clear enough. But what I meant was that I followed the install instructions here: https://github.com/rvdvoorde/domoticz-homewizard. As a result 'plugin.py' is already located in /usr/local/domoticz/var/plugins/domoticz-homewizard$. I also restarted the package a couple of times.

That is what you meant, right?

So, unfortunately, that's not the solution for this.

Cheers, Mike
ngauruhoe
Posts: 7
Joined: Sunday 26 July 2015 19:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by ngauruhoe »

Update...... what I didn't realize (until 5 minutes ago) is that I actually had to add the HomeWiz as 'hardware' to domoticz. In hindsight maybe obvious.... Anyway, it works (better) now. At least I see a lot of devices. Only my heatlink seems to get interpreted a bit strange (as 4 separate devices I think). But during my scan of this post I came across a few heatlink entries so I'll have a look there first.

Thanks for the feedback.

Cheers, Mike
ngauruhoe
Posts: 7
Joined: Sunday 26 July 2015 19:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by ngauruhoe »

For the benefit (I hope :-)) of others/all. This was my goal: Voice control of my HomeWiz attached devices using the following 'tool'-chain:
GoogleHome->Controlicz->Domoticz->HomeWizard Plugin-> Device.

Works like a charm! 'Hey google, schakel de lampen in de huiskamer aan'.........en jawel hoor.......licht in de duisternis :-).

Just still have to figure out my Heatlink. And I don't see my Smartwares radiator thermostats yet.

But I'm pretty happy so far :-)

Cheers, Mike
ngauruhoe
Posts: 7
Joined: Sunday 26 July 2015 19:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by ngauruhoe »

Maybe someone can shed some light on this. Like I mentioned, I don't see my Smartware 433 radiators in the Domoticz device list. Below the output of a HomeWiz /get-status. They appear under category switches with a type of 'radiator' (ID's 10,11,15,16,23). In the HomeWiz app they properly show up as Heating devices and can be controlled as such. Is there anything special I need to do to get these in the Domoticz Device list?

Code: Select all

{
"status": "ok",
"version": "3.403",
"request": {
"route": "/get-status"
},
"response": {
"preset": 0,
"time": "2019-03-17 17:09",
"switches": [
{
"id": 0,
"type": "switch",
"status": "off"
},
{
"id": 1,
"type": "switch",
"status": "off"
},
{
"id": 2,
"type": "switch",
"status": "off"
},
{
"id": 3,
"type": "switch",
"status": "off"
},
{
"id": 4,
"type": "switch",
"status": "off"
},
{
"id": 5,
"type": "switch",
"status": "off"
},
{
"id": 6,
"type": "switch",
"status": "off"
},
{
"id": 7,
"type": "switch",
"status": "on"
},
{
"id": 8,
"type": "switch",
"status": "off"
},
{
"id": 9,
"type": "switch",
"status": "off"
},
{
"id": 10,
"type": "radiator",
"tte": 15.1
},
{
"id": 11,
"type": "radiator",
"tte": 15
},
{
"id": 12,
"type": "switch",
"status": "off"
},
{
"id": 13,
"type": "switch",
"status": "off"
},
{
"id": 14,
"type": "switch",
"status": "off"
},
{
"id": 15,
"type": "radiator",
"tte": 28
},
{
"id": 16,
"type": "radiator",
"tte": 15
},
{
"id": 17,
"type": "switch",
"status": "off"
},
{
"id": 19,
"type": "switch",
"status": "off"
},
{
"id": 20,
"type": "switch",
"status": "off"
},
{
"id": 21,
"type": "dimmer",
"status": "off",
"dimlevel": 0
},
{
"id": 22,
"type": "switch",
"status": "off"
},
{
"id": 23,
"type": "radiator",
"tte": 15.1
}
],
"uvmeters": [],
"windmeters": [],
"rainmeters": [],
"thermometers": [
{
"id": 0,
"te": 8.7,
"hu": 58,
"favorite": "no"
}
],
"weatherdisplays": [],
"energymeters": [],
"energylinks": [],
"heatlinks": [
{
"id": 0,
"pump": "on",
"heating": "on",
"dhw": "off",
"rte": 20.378,
"rsp": 20.5,
"tte": 0,
"ttm": null,
"wp": 1.796,
"wte": 59.847,
"ofc": 0,
"odc": 0
}
],
"kakusensors": [
{
"id": 0,
"status": "yes",
"timestamp": "13:34"
},
{
"id": 1,
"status": null,
"timestamp": "13:01"
},
{
"id": 2,
"status": "no",
"timestamp": "09:01"
},
{
"id": 3,
"status": "yes",
"timestamp": "13:35"
},
{
"id": 4,
"status": "no",
"timestamp": "11:01"
},
{
"id": 5,
"status": "no",
"timestamp": "13:51"
},
{
"id": 6,
"status": "no",
"timestamp": "15:26"
},
{
"id": 7,
"status": "no",
"timestamp": "16:23"
}
]
}
}
Thank you, Mike
ngauruhoe
Posts: 7
Joined: Sunday 26 July 2015 19:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by ngauruhoe »

gijsje wrote: Saturday 19 August 2017 15:55 i have just done the update but i can not see the heatlink.
I can also not see the water detection sensors http://www.homewizard.nl/smartwares-868 ... elder.html
And also not the thermostat for the radiators http://www.homewizard.nl/smartwares-dra ... kraan.html
And from the Energylink it only shows the Electricity and the gas that are connected to P1 but not the water that is connected to S2 http://www.homewizard.nl/homewizard-energylink-102.html
The radiator thermostat was raised some time ago....Was it ever added to the HW plugin?

Thanks, Mike
Hemera
Posts: 1
Joined: Monday 08 July 2019 16:55
Target OS: Linux
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by Hemera »

I have just pushed an created a pull request for adding the functionality of HL thermostat.
Also I have "fixed" the Power and gas usage
Wobbles
Posts: 27
Joined: Thursday 03 March 2016 19:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Plugin - Homewizard

Post by Wobbles »

committed and thanks for the work!
Raspberry PI 1, Raspberry PI 2 & Raspberry PI 3, RFXCom, Z-Wave(Aeotec ZW090 Z-Stick Gen5), Philips HUE and using the premium android app
smaus
Posts: 84
Joined: Sunday 18 February 2018 9:32
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by smaus »

I dont see my S1 from my energielink
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest