Plugin - Homewizard

Python and python framework

Moderator: leecollings

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 »

waaren wrote:Hi Wobbles,

some minutes (last occurrence 22 min after reactivation ) after starting or reactivating the plugin I see this message in domoticz.log for every cycle of the HomeWizard plugin and changes in the state of a switch in HomeWizard are not send to Domoticz.

2017-03-06 21:46:25.038 Error: PyDomoticz_Connect, connection request from 'HomeWizard' ignored. Transport is already connected.
2017-03-06 21:46:25.038 Error: (HomeWizard) Current transport is still connected, directive ignored.


Do you have an idea what might cause this ?
Hi Waaren,

I don't have the same problem but will look into it.

Also updated to version 2.0.2, maybe this also solves your problem?
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
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Plugin - Homewizard

Post by waaren »

Hi Wobbles,

installed version 2.0.2 and until now I did not see "PyDomoticz_Connect errors".

with the frequency set for the HomeWizard plugin I see these messages in domoticz.log

2017-03-08 08:45:40.193 PluginSystem: Starting I/O service thread.
2017-03-08 08:45:40.444 PluginSystem: Restarting I/O service thread.

This night (with new HomeWizard plugin version installed and same Domoticz version) I had two stops of the complete Domoticz system but no clue yet what caused it. I use monit to check for this and other events and this monitor program also takes care of the automatic (re)start. So far I have not find the cause of the stops in any logfile but I will continue to search.
Much obliged if you have a suggestion where to start digging other than the various logfiles.

[EDIT]
output of dmesg -S -H | grep domoticz

[Mar 8 01:26] domoticz[2971]: segfault at 10 ip 00007f77c41e74d2 sp 00007ffdfc616780 error 4 in libpython3.5m.so.1.0[7f77c40a7000+233000]
[Mar 8 01:32] domoticz[31565]: segfault at a9 ip 00007f209893ae94 sp 00007f2097dd7d78 error 4 in libpython3.5m.so.1.0[7f20987de000+233000]
[Mar 8 04:07] domoticz[17514]: segfault at a9 ip 00007fa671351e94 sp 00007fa6707eed78 error 4 in libpython3.5m.so.1.0[7fa6711f5000+233000]
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
brogen67
Posts: 17
Joined: Wednesday 01 March 2017 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by brogen67 »

Hi guys,

Finally, with a fresh install of Raspbian Jessie, and the last Domoticz Beta and the plugin V2.0.2 I got the plugin working !

BUT, yes, there is a but ^^. After some minutes... Domoticz stop working. I can restart the service, then I can log in into the web interface, but I have the message "Domoticz offline".

Any idea ?
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 »

waaren wrote:Hi Wobbles,

installed version 2.0.2 and until now I did not see "PyDomoticz_Connect errors".

with the frequency set for the HomeWizard plugin I see these messages in domoticz.log

2017-03-08 08:45:40.193 PluginSystem: Starting I/O service thread.
2017-03-08 08:45:40.444 PluginSystem: Restarting I/O service thread.

This night (with new HomeWizard plugin version installed and same Domoticz version) I had two stops of the complete Domoticz system but no clue yet what caused it. I use monit to check for this and other events and this monitor program also takes care of the automatic (re)start. So far I have not find the cause of the stops in any logfile but I will continue to search.
Much obliged if you have a suggestion where to start digging other than the various logfiles.

[EDIT]
output of dmesg -S -H | grep domoticz

[Mar 8 01:26] domoticz[2971]: segfault at 10 ip 00007f77c41e74d2 sp 00007ffdfc616780 error 4 in libpython3.5m.so.1.0[7f77c40a7000+233000]
[Mar 8 01:32] domoticz[31565]: segfault at a9 ip 00007f209893ae94 sp 00007f2097dd7d78 error 4 in libpython3.5m.so.1.0[7f20987de000+233000]
[Mar 8 04:07] domoticz[17514]: segfault at a9 ip 00007fa671351e94 sp 00007fa6707eed78 error 4 in libpython3.5m.so.1.0[7fa6711f5000+233000]
I am also experiencing this on my test system. I have removed the windmeter updates as it seems the crash is always after the windmeter update. Not sure if it helps but...
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
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Plugin - Homewizard

Post by waaren »

Hi Wobbles,

for the moment I stopped the HomeWizard plugin on my (semi) production system. Reason is that domoticz.db got corrupted and monit was not able to perform an automatic restart while I was away. Leaving the house in a sub optimal state for my wife :D .
Let's say she was not amused ..
When I have some more time to be around and/or time to setup a test system I will continue testing. Until then I will continue to use my bash / PHP scripts to gather the data from my HomeWizard.

This is the PHP script I use to collect and write rain- and windmeter data. Maybe you can see if there is something in you could use to investigate the problem with the plugin.

Code: Select all

<?php
$homewizard = file_get_contents('http://192.168.192.61:80/xxxxx/get-sensors');
$homewizard = json_decode($homewizard,true);
$domoticzurl = 'http://192.168.192.66:8084/json.htm?';
$time = time();
      foreach($homewizard['response']['rainmeters'] as $rain) {
         if(isset($rain['mm']) && strftime('%H:%M', $time) > '00:06' && strftime('%H:%M', $time) < '23:54') {
            $DAY=strtr($rain['mm'],',','.');
            if($rain['lowBattery']=='yes') $bat = 0; else $bat = 100;
            $URL = $domoticzurl.'type=command&param=udevice&idx=150&nvalue=0&svalue=0;'.$DAY.'&battery='.$bat;
                        file_get_contents($URL);
         }
      }
      foreach($homewizard['response']['windmeters'] as $wind) {
         if(isset($wind['ws'])) {
            $WD=preg_replace("/[^A-Za-z]+/", "", $wind['dir']);
            $WB=$int = filter_var($wind['dir'], FILTER_SANITIZE_NUMBER_INT);
            $WS=$wind['ws'];$WG=$wind['gu'];$WC=$wind['wc'];$WT=$wind['te'];
            if($WS > $WG){$WGb = $WG; $WG = $WS; $WS = $WGb;}
            $DUNIT=$rain['id'];
            $SVALUE=$WB.';'.$WD.';'.($WS*6).';'.($WG*6).';'.$WC.';'.$WT;
            $IDX = 151;
            $URL = $domoticzurl.'type=command&param=udevice&hid=2&did=4000&idx='.$IDX.'&dunit='.$DUNIT.'&dtype=86&dsubtype=1&nvalue=0&svalue='.$SVALUE;
                        file_get_contents($URL);
         }
     }
 
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
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 »

@waaren, If you exoust the WAF then please stop testing :) I have the plugin only on my testing environment so the WAF is not in danger here :)

I still am not sure where the problem is but changed the plugin to not use the Domoticz comms system but use the Python comms system. I have this running now on my test and live environment and, for now, no issues.
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
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Plugin - Homewizard

Post by waaren »

Hi Wobbles,

RPI test system is on order so I will continue testing when Domoticz, Python and other requirements are installed, configured and running. Hopefully somewhere at the end of next week.

Keep up the good work !
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Patrik
Posts: 2
Joined: Saturday 11 March 2017 18:00
Target OS: -
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by Patrik »

Hello,

i try to get the plugin work, but wen i add it in hardware i can't enter IP adress or something else, because der are no fields.
In der log i get following.

2017-03-11 17:57:11.206 Error: (Homewizard) 'onStart' failed 'ValueError':'invalid literal for int() with base 10: '''.
2017-03-11 17:57:11.206 Error: (Homewizard) ----> Line 496 in /home/patrik/domoticz/plugins/domoticz-homewizard/plugin.py, function onStart
2017-03-11 17:57:11.206 Error: (Homewizard) ----> Line 59 in /home/patrik/domoticz/plugins/domoticz-homewizard/plugin.py, function onStart

Has anybody an idea

Patrik
Patrik
Posts: 2
Joined: Saturday 11 March 2017 18:00
Target OS: -
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by Patrik »

I solved it.

Tried it in chromium and the fields are there, everything works fine.
But my rollo shutter ist not in Device list

Greatings :-) Patrik
remco770
Posts: 3
Joined: Sunday 12 March 2017 20:49
Target OS: Linux
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by remco770 »

First of all, good job. I will be quiting Homewizard, but for the time being I will use Homewizard together with Domoticz.
I've installed your plugin within my Domoticz. And it seems to work in basic, I've notice two strange things so far. Maybe somebody can help me out?

- There showing up devices for Wind en Rainmeter, but I don't have 1 in my Homewizard.
- I've added my dimmer for the livingroom, if I change the state to on the light is going on, but after changing to another level the light is off

Thanks again for making this plugin!
Last edited by remco770 on Sunday 12 March 2017 21:43, edited 1 time in total.
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 »

remco770 wrote:First of all, good job. I will be quiting Homewizard, but for the time being I will use Homewizard together with Domoticz.
I've installed your plugin within my Domoticz. And it seems to work in basic, I've notice two strange things so far. Maybe somebody can help me out?

- There showing up device sfor Wind en Rainmeter, but I don't have 1 in my Homewizard.
- I've added my dimmer for the livingroom, if I change the state to on the light is going on, but after changing to another level the light is off

Thanks again for making this plugin!
Hi Remco,

Since I have stopped using my Homewizard a while ago I only have the usage for my Wattcher and the weather sensors so that is why you have the rain/wind meters by default ;) I started this plugin just for myself but decided to publish it for general usage since I am not alone with a Homewizard and Domoticz...

I will look into the dimmer issue, thanks for reporting that!
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
remco770
Posts: 3
Joined: Sunday 12 March 2017 20:49
Target OS: Linux
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by remco770 »

Wobbles wrote:
remco770 wrote:First of all, good job. I will be quiting Homewizard, but for the time being I will use Homewizard together with Domoticz.
I've installed your plugin within my Domoticz. And it seems to work in basic, I've notice two strange things so far. Maybe somebody can help me out?

- There showing up device sfor Wind en Rainmeter, but I don't have 1 in my Homewizard.
- I've added my dimmer for the livingroom, if I change the state to on the light is going on, but after changing to another level the light is off

Thanks again for making this plugin!
Hi Remco,

Since I have stopped using my Homewizard a while ago I only have the usage for my Wattcher and the weather sensors so that is why you have the rain/wind meters by default ;) I started this plugin just for myself but decided to publish it for general usage since I am not alone with a Homewizard and Domoticz...

I will look into the dimmer issue, thanks for reporting that!
That explains why it's added by default. Can I just remove them from the devices tab? Maybe you could make a change in the code so that they wouldn't be added by default.

Also I did take a look at the log file, except from the errors where the wind / rainmeter isn't found. I've got the following other error:

2017-03-12 21:35:55.539 (Homewizard) Unhandled route received! (/sw)

I've noticed that the On/Off switch is not always working the first time.
If you need some debug information/log files, please let me know.
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 »

You can remove them but they will be added automatically again after a restart. I will look into only added them when found.

I know there is still a problem with the switches and working on it but thx for reporting it 8-)
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
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 »

Updated to version 2.0.9

Rain and wind only added when there is 1 device connected to the Homewizard
Switch and dimming commands are now handled correctly. Since I do not have somfy switches, I am not sure if these work correct now. If you do have them, please test and let me know.

Still working on the Energylink...
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
brogen67
Posts: 17
Joined: Wednesday 01 March 2017 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by brogen67 »

Hi Wobbles,

So, after many tests I can't get the plugin stable ^^

I added : Wattcher, rainmeter, windmeter, the preset and 3 thermometers. But, I don't get all datas...

Poll interval : 30
Full update after x polls : 60


Any advice ?

Code: Select all

2017-03-16 14:11:52.702 Domoticz V3.6959 (c)2012-2017 GizMoCuz 

 2017-03-16 14:11:52.703 Build Hash: 16cba56, Date: 2017-03-15 12:21:36 

 2017-03-16 14:11:52.703 System: Raspberry Pi 

 2017-03-16 14:11:52.703 Startup Path: /home/user/domoticz/ 

 2017-03-16 14:11:52.919 Sunrise: 06:42:00 SunSet:18:36:00 

 2017-03-16 14:11:52.919 EventSystem: reset all events... 

 2017-03-16 14:11:53.393 PluginSystem: Started, Python version '3.4.2'. 

 2017-03-16 14:11:53.402 Active notification Subsystems: (0/12) 

 2017-03-16 14:11:53.435 WebServer(HTTP) started on address: :: with port 8080

 2017-03-16 14:11:53.457 WebServer(SSL) started on address: :: with port 443 

 2017-03-16 14:11:53.458 Proxymanager started. 

 2017-03-16 14:11:53.462 Starting shared server on: :::6144 

 2017-03-16 14:11:53.463 TCPServer: shared server started... 

 2017-03-16 14:11:53.463 RxQueue: queue worker started... 

 2017-03-16 14:11:55.463 EventSystem: reset all events... 

 2017-03-16 14:11:55.464 EventSystem: reset all device statuses... 

 2017-03-16 14:11:55.471 EventSystem: Started 

 2017-03-16 14:11:55.518 PluginSystem: Entering work loop. 

 2017-03-16 14:11:56.365 (Homewizard) Initialized version 2.0.9, author 'Wobbles' 

 2017-03-16 14:11:56.435 (Homewizard) Update interval set to 10 

 2017-03-16 14:11:56.435 (Homewizard) Full update after 60 polls 

 2017-03-16 14:12:06.022 (Homewizard) Update 0:'14.5;28;2' (Terrasse) 

 2017-03-16 14:12:06.022 Error: (Homewizard) Error reading switch values 

 2017-03-16 14:12:36.891 (Homewizard) Update 0:'14.5;27;2' (Terrasse) 

 2017-03-16 14:12:36.892 Error: (Homewizard) Error reading switch values 

 2017-03-16 14:12:43.451 Incoming connection from: 91.103.117.43 

 2017-03-16 14:12:46.900 Error: (Homewizard) Error reading switch values 

 2017-03-16 14:12:56.905 Error: (Homewizard) Error reading switch values 

 2017-03-16 14:13:06.908 Error: (Homewizard) Error reading switch values 

 2017-03-16 14:13:16.917 Error: (Homewizard) Error reading switch values 

 2017-03-16 14:13:26.925 (Homewizard) Update 0:'14.6;26;2' (Terrasse) 

 2017-03-16 14:13:26.925 Error: (Homewizard) Error reading switch values 

 2017-03-16 14:13:26.928 (Homewizard) Update 0:'320;9920.0' (Wattcher) 

 2017-03-16 14:13:36.938 Error: (Homewizard) Error reading switch values 

 2017-03-16 14:13:46.897 Error: (Homewizard) Error reading switch values 

 2017-03-16 14:13:46.900 (Homewizard) Update 0:'290;9920.0' (Wattcher) 

 2017-03-16 14:13:56.900 Error: (Homewizard) Error reading switch values 

 2017-03-16 14:14:06.909 (Homewizard) Update 0:'14.5;25;2' (Terrasse) 

 2017-03-16 14:14:06.909 Error: (Homewizard) Error reading switch values 
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Plugin - Homewizard

Post by waaren »

Hi Wobbles,

I've setup my test environment on a RPI-3 and updated Domoticz to the latest Beta en your HomeWizard plugin to version 2.09
So far no stops but I get an error message from the plugin and my HomeWizard-rain device in domoticz is not updated.
regen2.JPG
regen2.JPG (27.23 KiB) Viewed 5132 times
regen1.JPG
regen1.JPG (20.69 KiB) Viewed 5132 times

Domoticz log:

Code: Select all

2017-03-16 15:57:25.933  (HomeWizard) Initialized version 2.0.9, author 'Wobbles'
2017-03-16 15:57:25.945  (HomeWizard) Debug log level set to: 'true'.
2017-03-16 15:57:25.945  (HomeWizard) 'HardwareID':'5'
2017-03-16 15:57:25.945  (HomeWizard) 'Author':'Wobbles'
2017-03-16 15:57:25.945  (HomeWizard) 'HomeFolder':'/usr/local/domoticz/plugins/domoticz-homewizard/'
2017-03-16 15:57:25.945  (HomeWizard) 'Address':'192.168.192.61'
2017-03-16 15:57:25.946  (HomeWizard) 'Mode1':'20'
2017-03-16 15:57:25.946  (HomeWizard) 'Mode6':'Debug'
2017-03-16 15:57:25.946  (HomeWizard) 'Port':'0'
2017-03-16 15:57:25.946  (HomeWizard) 'Mode2':'20'
2017-03-16 15:57:25.946  (HomeWizard) 'Key':'Homewizard'
2017-03-16 15:57:25.946  (HomeWizard) 'Name':'HomeWizard'
2017-03-16 15:57:25.946  (HomeWizard) 'Password':'xxxxxxxx'
2017-03-16 15:57:25.946  (HomeWizard) 'Version':'2.0.9'
2017-03-16 15:57:25.946  (HomeWizard) Device count: 44
2017-03-16 15:57:25.946  ....
2017-03-16 15:57:25.970  (HomeWizard) Update interval set to 20
2017-03-16 15:57:25.971  (HomeWizard) Full update after 20 polls
2017-03-16 15:57:27.315  (HomeWizard) Received route: /get-sensors
2017-03-16 15:57:27.315  (HomeWizard) Started handling get-sensors
2017-03-16 15:57:27.315  (HomeWizard) No. of switches found: 26
2017-03-16 15:57:27.317  (HomeWizard) No. of thermometers found: 4
2017-03-16 15:57:27.318  (HomeWizard) No. of sensors found: 11
2017-03-16 15:57:27.319  (HomeWizard) Ended handling get-sensors
2017-03-16 15:57:27.319  (HomeWizard) Heartbeat interval set to: 20.
2017-03-16 15:57:35.483  (HomeWizard) Calling message handler 'onHeartbeat'.
2017-03-16 15:57:35.660  (HomeWizard) Received route: /get-status
2017-03-16 15:57:35.660  (HomeWizard) Starting handle route /get-status
2017-03-16 15:57:35.661  (HomeWizard - Wind) Updating device from 0:'247;WSW;18.61;29.44;18.3;18.3' to have values 0:'247;WSW;19.17;25.0;18.4;18.4'.
2017-03-16 15:57:35.664  (HomeWizard) Update 0:'247;WSW;19.17;25.0;18.4;18.4' (HomeWizard - Wind)
2017-03-16 15:57:35.667  (HomeWizard) Failed to communicate to system at ip 192.168.192.61 ; command: get-status // I added command in the debug statement 
2017-03-16 15:57:55.661  (HomeWizard - Wind) Updating device from 0:'247;WSW;19.17;25.0;18.4;18.4' to have values 0:'315;NW;18.61;16.39;18.4;18.4'.
2017-03-16 15:57:55.664  (HomeWizard) Update 0:'315;NW;18.61;16.39;18.4;18.4' (HomeWizard - Wind)
2017-03-16 15:57:55.668  (HomeWizard) Failed to communicate to system at ip 192.168.192.61 ; command: get-status
2017-03-16 15:58:15.488  (HomeWizard) Calling message handler 'onHeartbeat'.
2017-03-16 15:58:15.655  (HomeWizard) Received route: /get-status
2017-03-16 15:58:15.656  (HomeWizard) Starting handle route /get-status
2017-03-16 15:58:15.660  (HomeWizard) Failed to communicate to system at ip 192.168.192.61 ; command: get-status
....
Reply from HomeWizard on the get-status command in Chrome:

Code: Select all

status": "ok",
"version": "3.372",
"request": {
"route": "/get-status"
},
"response": {
"preset": 0,
"time": "2017-03-16 16:58",
"switches": [
{
"id": 0,
"type": "switch",
"status": "on"
},
{
"id": 1,
"type": "switch",
"status": "off"
},
{
"id": 2,
"type": "switch",
"status": "off"
},
{
"id": 3,
"type": "switch",
"status": "on"
},
{
"id": 4,
"type": "dimmer",
"status": "off",
"dimlevel": 0
},
{
"id": 5,
"type": "switch",
"status": "off"
},
{
"id": 6,
"type": "switch",
"status": "off"
},
{
"id": 7,
"type": "switch",
"status": "off"
},
{
"id": 8,
"type": "switch",
"status": "off"
},
{
"id": 9,
"type": "dimmer",
"status": "off",
"dimlevel": 0
},
{
"id": 10,
"type": "switch",
"status": "off"
},
{
"id": 11,
"type": "switch",
"status": "off"
},
{
"id": 12,
"type": "switch",
"status": "on"
},
{
"id": 13,
"type": "switch",
"status": "on"
},
{
"id": 14,
"type": "dimmer",
"status": "off",
"dimlevel": 0
},
{
"id": 16,
"type": "switch",
"status": "on"
},
{
"id": 17,
"type": "virtual"
},
{
"id": 18,
"type": "switch",
"status": "off"
},
{
"id": 19,
"type": "virtual"
},
{
"id": 20,
"type": "switch",
"status": "off"
},
{
"id": 21,
"type": "switch",
"status": "on"
},
{
"id": 22,
"type": "switch",
"status": "on"
},
{
"id": 23,
"type": "switch",
"status": "off"
},
{
"id": 24,
"type": "switch",
"status": "off"
},
{
"id": 25,
"type": "virtual"
}
],
"uvmeters": [],
"windmeters": [
{
"id": 9,
"unit": 0,
"ws": 6.7,
"dir": "NW 315",
"gu": 5.9,
"wc": 18.4,
"te": 18.4,
"favorite": "no"
}
],
"rainmeters": [
{
"id": 0,
"mm": 0,
"3h": 0,
"favorite": "no"
}
],
"thermometers": [
{
"id": 1,
"te": 20.5,
"hu": 50,
"favorite": "no"
},
{
"id": 3,
"te": 16.1,
"hu": 62,
"favorite": "no"
},
{
"id": 5,
"te": 19.3,
"hu": 50,
"favorite": "no"
},
{
"id": 8,
"te": 19.6,
"hu": 55,
"favorite": "no"
}
],
"weatherdisplays": [
{
"id": 4,
"favorite": "no"
}
],
"energymeters": [],
"energylinks": [
{
"id": 0,
"tariff": 2,
"s1": {
"po": 1865,
"dayTotal": 14.2,
"po+": 3773,
"po+t": "14:28",
"po-": 0,
"po-t": "00:01"
},
"s2": {
"po": 0,
"dayTotal": 77,
"po+": 10,
"po+t": "08:32",
"po-": 0,
"po-t": "00:01"
},
"aggregate": {
"po": -1611,
"dayTotal": -6.82,
"po+": 2810,
"po+t": "01:17",
"po-": -2475,
"po-t": "14:52"
},
"used": {
"po": 323,
"dayTotal": 7.4,
"po+": 2810,
"po+t": "01:17",
"po-": 47,
"po-t": "15:46"
},
"gas": {
"lastHour": 0,
"dayTotal": 1.17
},
"kwhindex": 0
}
],
"heatlinks": [],
"kakusensors": [
{
"id": 0,
"status": "no",
"timestamp": "09:05"
},
{
"id": 1,
"status": "no",
"timestamp": "11:40"
},
{
"id": 2,
"status": "no",
"timestamp": "18:47"
},
{
"id": 3,
"status": null,
"timestamp": "00:00"
},
{
"id": 4,
"status": null,
"timestamp": "00:00"
},
{
"id": 5,
"status": "no",
"timestamp": "13:06"
},
{
"id": 6,
"status": "no",
"timestamp": "15:57"
},
{
"id": 7,
"status": "yes",
"timestamp": "14:11"
},
{
"id": 8,
"status": "no",
"timestamp": "12:40"
},
{
"id": 9,
"status": null,
"timestamp": "17:16"
},
{
"id": 10,
"status": "no",
"timestamp": "14:52"
}
]
}
}

Please feel free to ask if you need more info from me
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
brogen67
Posts: 17
Joined: Wednesday 01 March 2017 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by brogen67 »

Hi Waaren,

Can you tell me how do you have such verbose logs ? When you have :
waaren wrote:
Domoticz log:

Code: Select all

2017-03-16 15:57:25.933 (HomeWizard) Initialized version 2.0.9, author 'Wobbles'
2017-03-16 15:57:25.945 (HomeWizard) Debug log level set to: 'true'.
2017-03-16 15:57:25.945 (HomeWizard) 'HardwareID':'5'
2017-03-16 15:57:25.945 (HomeWizard) 'Author':'Wobbles'
2017-03-16 15:57:25.945 (HomeWizard) 'HomeFolder':'/usr/local/domoticz/plugins/domoticz-homewizard/'
2017-03-16 15:57:25.945 (HomeWizard) 'Address':'192.168.192.61'
2017-03-16 15:57:25.946 (HomeWizard) 'Mode1':'20'
2017-03-16 15:57:25.946 (HomeWizard) 'Mode6':'Debug'
2017-03-16 15:57:25.946 (HomeWizard) 'Port':'0'
2017-03-16 15:57:25.946 (HomeWizard) 'Mode2':'20'
2017-03-16 15:57:25.946 (HomeWizard) 'Key':'Homewizard'
2017-03-16 15:57:25.946 (HomeWizard) 'Name':'HomeWizard'
2017-03-16 15:57:25.946 (HomeWizard) 'Password':'xxxxxxxx'
2017-03-16 15:57:25.946 (HomeWizard) 'Version':'2.0.9'
2017-03-16 15:57:25.946 (HomeWizard) Device count: 44
2017-03-16 15:57:25.946 ....
2017-03-16 15:57:25.970 (HomeWizard) Update interval set to 20
2017-03-16 15:57:25.971 (HomeWizard) Full update after 20 polls
2017-03-16 15:57:27.315 (HomeWizard) Received route: /get-sensors
2017-03-16 15:57:27.315 (HomeWizard) Started handling get-sensors
2017-03-16 15:57:27.315 (HomeWizard) No. of switches found: 26
2017-03-16 15:57:27.317 (HomeWizard) No. of thermometers found: 4
2017-03-16 15:57:27.318 (HomeWizard) No. of sensors found: 11
2017-03-16 15:57:27.319 (HomeWizard) Ended handling get-sensors
2017-03-16 15:57:27.319 (HomeWizard) Heartbeat interval set to: 20.
2017-03-16 15:57:35.483 (HomeWizard) Calling message handler 'onHeartbeat'.
2017-03-16 15:57:35.660 (HomeWizard) Received route: /get-status
2017-03-16 15:57:35.660 (HomeWizard) Starting handle route /get-status
2017-03-16 15:57:35.661 (HomeWizard - Wind) Updating device from 0:'247;WSW;18.61;29.44;18.3;18.3' to have values 0:'247;WSW;19.17;25.0;18.4;18.4'.
2017-03-16 15:57:35.664 (HomeWizard) Update 0:'247;WSW;19.17;25.0;18.4;18.4' (HomeWizard - Wind)
2017-03-16 15:57:35.667 (HomeWizard) Failed to communicate to system at ip 192.168.192.61 ; command: get-status // I added command in the debug statement 
2017-03-16 15:57:55.661 (HomeWizard - Wind) Updating device from 0:'247;WSW;19.17;25.0;18.4;18.4' to have values 0:'315;NW;18.61;16.39;18.4;18.4'.
2017-03-16 15:57:55.664 (HomeWizard) Update 0:'315;NW;18.61;16.39;18.4;18.4' (HomeWizard - Wind)
2017-03-16 15:57:55.668 (HomeWizard) Failed to communicate to system at ip 192.168.192.61 ; command: get-status
2017-03-16 15:58:15.488 (HomeWizard) Calling message handler 'onHeartbeat'.
2017-03-16 15:58:15.655 (HomeWizard) Received route: /get-status
2017-03-16 15:58:15.656 (HomeWizard) Starting handle route /get-status
2017-03-16 15:58:15.660 (HomeWizard) Failed to communicate to system at ip 192.168.192.61 ; command: get-status
....
I only have :

Code: Select all

 2017-03-16 16:01:31.812 (Homewizard) Exiting work loop...
2017-03-16 16:01:31.867 (Homewizard) Stopped.
2017-03-16 16:01:32.134 (Homewizard) Initialized version 2.0.9, author 'Wobbles'
2017-03-16 16:03:20.652 (Homewizard) Exiting work loop...
2017-03-16 16:03:20.652 (Homewizard) Stopped.
2017-03-16 16:03:20.914 (Homewizard) Initialized version 2.0.9, author 'Wobbles'
2017-03-16 16:04:10.421 (Homewizard) Exiting work loop...
2017-03-16 16:04:10.422 (Homewizard) Stopped.
2017-03-16 16:05:01.734 (Homewizard) Initialized version 2.0.9, author 'Wobbles'
2017-03-16 16:09:19.156 Incoming connection from: 37.166.134.212
2017-03-16 19:45:53.070 Incoming connection from: 192.168.0.15 
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Plugin - Homewizard

Post by waaren »

Hi Brogen67,

in separate terminal window do tail -f domoticz.log

in hardware:
. select HomeWizard;
. uncheck Enabled checkbox;
. click Update button;
. set the Debug choice to true;
. check Enabled checkbox;
. click Update button
HomeWizard.JPG
HomeWizard.JPG (200.89 KiB) Viewed 5117 times
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
brogen67
Posts: 17
Joined: Wednesday 01 March 2017 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Plugin - Homewizard

Post by brogen67 »

Hi Warren, thanks for reply. Ok, now I have same log as you ^^

So, I tried many configuration with different Poll intervall... but problem is not solved.

I only have 7 devices in domoticz from homewizard.

Here is my log (sorry it's log to have most of infos) :

Code: Select all

2017-03-17 09:00:38.338  PluginSystem: Started, Python version '3.4.2'.
2017-03-17 09:00:38.346  Active notification Subsystems: (0/12)
2017-03-17 09:00:38.347  WebServer(HTTP) started on address: :: with port 8085
2017-03-17 09:00:38.353  WebServer(SSL) started on address: :: with port 10443
2017-03-17 09:00:38.355  Proxymanager started.
2017-03-17 09:00:38.356  Starting shared server on: :::6144
2017-03-17 09:00:38.356  TCPServer: shared server started...
2017-03-17 09:00:38.356  RxQueue: queue worker started...
2017-03-17 09:00:40.357  EventSystem: reset all events...
2017-03-17 09:00:40.358  EventSystem: reset all device statuses...
2017-03-17 09:00:40.359  EventSystem: Started
2017-03-17 09:00:40.759  PluginSystem: Entering work loop.
2017-03-17 09:01:07.752  Incoming connection from: 91.103.117.43
2017-03-17 09:01:08.112  (Homewizard) Initialized version 2.0.9, author 'Wobbles'
2017-03-17 09:01:08.172  (Homewizard) Debug log level set to: 'true'.
2017-03-17 09:01:08.172  (Homewizard) 'HomeFolder':'/home/gregory/domoticz/plugins/homewizard/'
2017-03-17 09:01:08.173  (Homewizard) 'Address':'192.168.0.250'
2017-03-17 09:01:08.173  (Homewizard) 'Mode6':'Debug'
2017-03-17 09:01:08.173  (Homewizard) 'Password':'xxxxxxxxx'
2017-03-17 09:01:08.173  (Homewizard) 'Mode2':'20'
2017-03-17 09:01:08.173  (Homewizard) 'HardwareID':'4'
2017-03-17 09:01:08.173  (Homewizard) 'Version':'2.0.9'
2017-03-17 09:01:08.173  (Homewizard) 'Author':'Wobbles'
2017-03-17 09:01:08.173  (Homewizard) 'Mode1':'15'
2017-03-17 09:01:08.173  (Homewizard) 'Port':'0'
2017-03-17 09:01:08.174  (Homewizard) 'Name':'Homewizard'
2017-03-17 09:01:08.174  (Homewizard) 'Key':'Homewizard'
2017-03-17 09:01:08.174  (Homewizard) Device count: 39
2017-03-17 09:01:08.174  (Homewizard) Device:           64 - ID: 81, Name: 'Homewizard - Garage', nValue: 0, sValue: ''
2017-03-17 09:01:08.174  (Homewizard) Device ID:       '81'
2017-03-17 09:01:08.174  (Homewizard) Device Name:     'Homewizard - Garage'
2017-03-17 09:01:08.174  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.174  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.174  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.175  (Homewizard) Device:           1 - ID: 48, Name: 'Homewizard - bloc tv', nValue: 0, sValue: ''
2017-03-17 09:01:08.175  (Homewizard) Device ID:       '48'
2017-03-17 09:01:08.175  (Homewizard) Device Name:     'Homewizard - bloc tv'
2017-03-17 09:01:08.175  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.175  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.175  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.175  (Homewizard) Device:           2 - ID: 49, Name: 'Homewizard - prise 2', nValue: 1, sValue: ''
2017-03-17 09:01:08.175  (Homewizard) Device ID:       '49'
2017-03-17 09:01:08.175  (Homewizard) Device Name:     'Homewizard - prise 2'
2017-03-17 09:01:08.176  (Homewizard) Device nValue:    1
2017-03-17 09:01:08.176  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.176  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.176  (Homewizard) Device:           3 - ID: 50, Name: 'Homewizard - prise 3', nValue: 0, sValue: ''
2017-03-17 09:01:08.176  (Homewizard) Device ID:       '50'
2017-03-17 09:01:08.176  (Homewizard) Device Name:     'Homewizard - prise 3'
2017-03-17 09:01:08.176  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.177  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.177  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.177  (Homewizard) Device:           4 - ID: 51, Name: 'Homewizard - le bas', nValue: 0, sValue: ''
2017-03-17 09:01:08.177  (Homewizard) Device ID:       '51'
2017-03-17 09:01:08.177  (Homewizard) Device Name:     'Homewizard - le bas'
2017-03-17 09:01:08.177  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.177  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.177  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.178  (Homewizard) Device:           5 - ID: 52, Name: 'Homewizard - le haut', nValue: 0, sValue: ''
2017-03-17 09:01:08.178  (Homewizard) Device ID:       '52'
017-03-17 09:01:08.178  (Homewizard) Device Name:     'Homewizard - le haut'
2017-03-17 09:01:08.178  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.178  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.178  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.178  (Homewizard) Device:           6 - ID: 53, Name: 'Homewizard - la maison', nValue: 0, sValue: ''
2017-03-17 09:01:08.178  (Homewizard) Device ID:       '53'
2017-03-17 09:01:08.178  (Homewizard) Device Name:     'Homewizard - la maison'
2017-03-17 09:01:08.178  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.179  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.179  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.179  (Homewizard) Device:           7 - ID: 54, Name: 'Homewizard - salon', nValue: 0, sValue: ''
2017-03-17 09:01:08.179  (Homewizard) Device ID:       '54'
2017-03-17 09:01:08.179  (Homewizard) Device Name:     'Homewizard - salon'
2017-03-17 09:01:08.179  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.179  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.179  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.179  (Homewizard) Device:           8 - ID: 55, Name: 'Homewizard - salle a manger', nValue: 0, sValue: ''
2017-03-17 09:01:08.180  (Homewizard) Device ID:       '55'
2017-03-17 09:01:08.180  (Homewizard) Device Name:     'Homewizard - salle a manger'
2017-03-17 09:01:08.180  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.180  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.180  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.180  (Homewizard) Device:           9 - ID: 56, Name: 'Homewizard - chambre bebe', nValue: 0, sValue: ''
2017-03-17 09:01:08.180  (Homewizard) Device ID:       '56'
2017-03-17 09:01:08.180  (Homewizard) Device Name:     'Homewizard - chambre bebe'
2017-03-17 09:01:08.180  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.180  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.181  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.181  (Homewizard) Device:           10 - ID: 57, Name: 'Homewizard - cuisine', nValue: 0, sValue: ''
2017-03-17 09:01:08.181  (Homewizard) Device ID:       '57'
2017-03-17 09:01:08.181  (Homewizard) Device Name:     'Homewizard - cuisine'
2017-03-17 09:01:08.181  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.181  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.181  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.181  (Homewizard) Device:           11 - ID: 58, Name: 'Homewizard - terrasse', nValue: 0, sValue: ''
2017-03-17 09:01:08.181  (Homewizard) Device ID:       '58'
2017-03-17 09:01:08.182  (Homewizard) Device Name:     'Homewizard - terrasse'
2017-03-17 09:01:08.182  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.182  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.182  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.182  (Homewizard) Device:           12 - ID: 59, Name: 'Homewizard - chambre d amis', nValue: 0, sValue: ''
2017-03-17 09:01:08.182  (Homewizard) Device ID:       '59'
2017-03-17 09:01:08.182  (Homewizard) Device Name:     'Homewizard - chambre d amis'
2017-03-17 09:01:08.182  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.182  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.182  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.183  (Homewizard) Device:           13 - ID: 60, Name: 'Homewizard - salle de bains', nValue: 0, sValue: ''
2017-03-17 09:01:08.183  (Homewizard) Device ID:       '60'
2017-03-17 09:01:08.183  (Homewizard) Device Name:     'Homewizard - salle de bains'
2017-03-17 09:01:08.183  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.183  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.183  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.183  (Homewizard) Device:           14 - ID: 61, Name: 'Homewizard - chambre', nValue: 0, sValue: ''
2017-03-17 09:01:08.183  (Homewizard) Device ID:       '61'
2017-03-17 09:01:08.183  (Homewizard) Device Name:     'Homewizard - chambre'
2017-03-17 09:01:08.184  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.184  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.184  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.184  (Homewizard) Device:           15 - ID: 62, Name: 'Homewizard - bureau', nValue: 0, sValue: ''
2017-03-17 09:01:08.184  (Homewizard) Device ID:       '62'
2017-03-17 09:01:08.184  (Homewizard) Device Name:     'Homewizard - bureau'
2017-03-17 09:01:08.184  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.184  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.184  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.185  (Homewizard) Device:           16 - ID: 63, Name: 'Homewizard - porte garage', nValue: 0, sValue: ''
2017-03-17 09:01:08.185  (Homewizard) Device ID:       '63'
2017-03-17 09:01:08.185  (Homewizard) Device Name:     'Homewizard - porte garage'
2017-03-17 09:01:08.185  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.185  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.185  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.185  (Homewizard) Device:           17 - ID: 64, Name: 'Homewizard - salon ventilo', nValue: 0, sValue: '0'
2017-03-17 09:01:08.185  (Homewizard) Device ID:       '64'
2017-03-17 09:01:08.185  (Homewizard) Device Name:     'Homewizard - salon ventilo'
2017-03-17 09:01:08.185  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.186  (Homewizard) Device sValue:   '0'
2017-03-17 09:01:08.186  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.186  (Homewizard) Device:           18 - ID: 65, Name: 'Homewizard - allumage nas', nValue: 0, sValue: ''
2017-03-17 09:01:08.186  (Homewizard) Device ID:       '65'
2017-03-17 09:01:08.186  (Homewizard) Device Name:     'Homewizard - allumage nas'
2017-03-17 09:01:08.186  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.186  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.186  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.187  (Homewizard) Device:           19 - ID: 66, Name: 'Homewizard - sirene', nValue: 0, sValue: ''
2017-03-17 09:01:08.187  (Homewizard) Device ID:       '66'
2017-03-17 09:01:08.187  (Homewizard) Device Name:     'Homewizard - sirene'
2017-03-17 09:01:08.187  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.187  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.187  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.187  (Homewizard) Device:           20 - ID: 67, Name: 'Homewizard - filtre piscine', nValue: 0, sValue: ''
2017-03-17 09:01:08.187  (Homewizard) Device ID:       '67'
2017-03-17 09:01:08.187  (Homewizard) Device Name:     'Homewizard - filtre piscine'
2017-03-17 09:01:08.187  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.188  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.188  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.188  (Homewizard) Device:           21 - ID: 68, Name: 'Homewizard - salon', nValue: 0, sValue: '0'
2017-03-17 09:01:08.188  (Homewizard) Device ID:       '68'
2017-03-17 09:01:08.188  (Homewizard) Device Name:     'Homewizard - salon'
2017-03-17 09:01:08.188  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.188  (Homewizard) Device sValue:   '0'
2017-03-17 09:01:08.188  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.188  (Homewizard) Device:           22 - ID: 69, Name: 'Homewizard - prise noel 1', nValue: 0, sValue: ''
2017-03-17 09:01:08.189  (Homewizard) Device ID:       '69'
2017-03-17 09:01:08.189  (Homewizard) Device Name:     'Homewizard - prise noel 1'
2017-03-17 09:01:08.189  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.189  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.189  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.189  (Homewizard) Device:           23 - ID: 70, Name: 'Homewizard - prise noel 2', nValue: 0, sValue: ''
2017-03-17 09:01:08.189  (Homewizard) Device ID:       '70'
2017-03-17 09:01:08.189  (Homewizard) Device Name:     'Homewizard - prise noel 2'
2017-03-17 09:01:08.189  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.189  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.190  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.190  (Homewizard) Device:           24 - ID: 71, Name: 'Homewizard - prise noel 3', nValue: 0, sValue: ''
2017-03-17 09:01:08.190  (Homewizard) Device ID:       '71'
2017-03-17 09:01:08.190  (Homewizard) Device Name:     'Homewizard - prise noel 3'
2017-03-17 09:01:08.190  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.190  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.190  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.190  (Homewizard) Device:           25 - ID: 72, Name: 'Homewizard - prise buches', nValue: 0, sValue: ''
2017-03-17 09:01:08.190  (Homewizard) Device ID:       '72'
2017-03-17 09:01:08.191  (Homewizard) Device Name:     'Homewizard - prise buches'
2017-03-17 09:01:08.191  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.191  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.191  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.191  (Homewizard) Device:           26 - ID: 73, Name: 'Homewizard - inter esca ext', nValue: 0, sValue: ''
2017-03-17 09:01:08.191  (Homewizard) Device ID:       '73'
2017-03-17 09:01:08.191  (Homewizard) Device Name:     'Homewizard - inter esca ext'
2017-03-17 09:01:08.191  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.191  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.192  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.192  (Homewizard) Device:           27 - ID: 74, Name: 'Homewizard - chauffe serviet', nValue: 0, sValue: ''
2017-03-17 09:01:08.192  (Homewizard) Device ID:       '74'
2017-03-17 09:01:08.192  (Homewizard) Device Name:     'Homewizard - chauffe serviet'
2017-03-17 09:01:08.192  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.192  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.192  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.192  (Homewizard) Device:           101 - ID: 47, Name: 'Wattcher', nValue: 0, sValue: '280;9830.0'
2017-03-17 09:01:08.192  (Homewizard) Device ID:       '47'
2017-03-17 09:01:08.193  (Homewizard) Device Name:     'Wattcher'
2017-03-17 09:01:08.193  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.193  (Homewizard) Device sValue:   '280;9830.0'
2017-03-17 09:01:08.193  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.193  (Homewizard) Device:           65 - ID: 82, Name: 'Homewizard - Cave', nValue: 0, sValue: ''
2017-03-17 09:01:08.193  (Homewizard) Device ID:       '82'
2017-03-17 09:01:08.193  (Homewizard) Device Name:     'Homewizard - Cave'
2017-03-17 09:01:08.193  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.193  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.193  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.194  (Homewizard) Device:           111 - ID: 75, Name: 'Salon', nValue: 0, sValue: '19.7;5;2'
2017-03-17 09:01:08.194  (Homewizard) Device ID:       '75'
2017-03-17 09:01:08.194  (Homewizard) Device Name:     'Salon'
2017-03-17 09:01:08.194  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.194  (Homewizard) Device sValue:   '19.7;5;2'
2017-03-17 09:01:08.194  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.194  (Homewizard) Device:           112 - ID: 76, Name: 'Terrasse', nValue: 0, sValue: '12.7;41;0'
2017-03-17 09:01:08.194  (Homewizard) Device ID:       '76'
2017-03-17 09:01:08.194  (Homewizard) Device Name:     'Terrasse'
2017-03-17 09:01:08.195  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.195  (Homewizard) Device sValue:   '12.7;41;0'
2017-03-17 09:01:08.195  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.195  (Homewizard) Device:           113 - ID: 77, Name: 'Etage', nValue: 0, sValue: '20.2;48;0'
2017-03-17 09:01:08.195  (Homewizard) Device ID:       '77'
2017-03-17 09:01:08.195  (Homewizard) Device Name:     'Etage'
2017-03-17 09:01:08.195  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.195  (Homewizard) Device sValue:   '20.2;48;0'
2017-03-17 09:01:08.195  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.196  (Homewizard) Device:           201 - ID: 83, Name: 'Pluviomètre', nValue: 0, sValue: '0.0;0.0'
2017-03-17 09:01:08.196  (Homewizard) Device ID:       '83'
2017-03-17 09:01:08.196  (Homewizard) Device Name:     'Pluviomètre'
2017-03-17 09:01:08.196  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.196  (Homewizard) Device sValue:   '0.0;0.0'
2017-03-17 09:01:08.196  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.196  (Homewizard) Device:           202 - ID: 84, Name: 'Anémomètre', nValue: 0, sValue: '0;N;0.0;0.0;0;0'
2017-03-17 09:01:08.196  (Homewizard) Device ID:       '84'
2017-03-17 09:01:08.196  (Homewizard) Device Name:     'Anémomètre'
2017-03-17 09:01:08.197  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.197  (Homewizard) Device sValue:   '0;N;0.0;0.0;0;0'
2017-03-17 09:01:08.197  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.197  (Homewizard) Device:           121 - ID: 46, Name: 'Homewizard - Preset', nValue: 2, sValue: '10'
2017-03-17 09:01:08.197  (Homewizard) Device ID:       '46'
2017-03-17 09:01:08.197  (Homewizard) Device Name:     'Homewizard - Preset'
2017-03-17 09:01:08.197  (Homewizard) Device nValue:    2
2017-03-17 09:01:08.197  (Homewizard) Device sValue:   '10'
2017-03-17 09:01:08.197  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.198  (Homewizard) Device:           61 - ID: 78, Name: 'Homewizard - Smoke', nValue: 0, sValue: ''
2017-03-17 09:01:08.198  (Homewizard) Device ID:       '78'
2017-03-17 09:01:08.198  (Homewizard) Device Name:     'Homewizard - Smoke'
2017-03-17 09:01:08.198  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.198  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.198  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.198  (Homewizard) Device:           62 - ID: 79, Name: 'Homewizard - Porte entree', nValue: 0, sValue: ''
2017-03-17 09:01:08.198  (Homewizard) Device ID:       '79'
2017-03-17 09:01:08.198  (Homewizard) Device Name:     'Homewizard - Porte entree'
2017-03-17 09:01:08.198  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.199  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.199  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.199  (Homewizard) Device:           63 - ID: 80, Name: 'Homewizard - Detecteur Salon', nValue: 0, sValue: ''
2017-03-17 09:01:08.199  (Homewizard) Device ID:       '80'
2017-03-17 09:01:08.199  (Homewizard) Device Name:     'Homewizard - Detecteur Salon'
2017-03-17 09:01:08.199  (Homewizard) Device nValue:    0
2017-03-17 09:01:08.199  (Homewizard) Device sValue:   ''
2017-03-17 09:01:08.199  (Homewizard) Device LastLevel: 0
2017-03-17 09:01:08.199  (Homewizard) Update interval set to 15
2017-03-17 09:01:08.200  (Homewizard) Full update after 20 polls
2017-03-17 09:01:09.692  (Homewizard) Received route: /get-sensors
2017-03-17 09:01:09.692  (Homewizard) Started handling get-sensors
2017-03-17 09:01:09.693  (Wattcher) Updating device from 0:'280;9830.0' to have values 0:'280;9850.0'.
2017-03-17 09:01:09.696  (Homewizard) Update 0:'280;9850.0' (Wattcher)
2017-03-17 09:01:09.696  (Homewizard) No. of switches found: 27
2017-03-17 09:01:09.700  (Homewizard) No. of thermometers found: 3
2017-03-17 09:01:09.701  (Terrasse) Updating device from 0:'12.7;41;0' to have values 0:'12.8;41;0'.
2017-03-17 09:01:09.703  (Homewizard) Update 0:'12.8;41;0' (Terrasse)
2017-03-17 09:01:09.704  (Homewizard) No. of sensors found: 5
2017-03-17 09:01:09.705  (Homewizard) Ended handling get-sensors
2017-03-17 09:01:09.705  (Homewizard) Heartbeat interval set to: 15.
2017-03-17 09:01:17.618  (Homewizard) Calling message handler 'onHeartbeat'.
2017-03-17 09:01:17.755  (Homewizard) Received route: /get-status
2017-03-17 09:01:17.755  (Homewizard) Starting handle route /get-status
2017-03-17 09:01:17.758  (Homewizard) Ended handle route /get-status
2017-03-17 09:01:32.632  (Homewizard) Calling message handler 'onHeartbeat'.
2017-03-17 09:01:32.769  (Homewizard) Received route: /get-status
2017-03-17 09:01:32.769  (Homewizard) Starting handle route /get-status
2017-03-17 09:01:32.770  (Terrasse) Updating device from 0:'12.8;41;0' to have values 0:'12.9;40;0'.
2017-03-17 09:01:32.773  (Homewizard) Update 0:'12.9;40;0' (Terrasse)
2017-03-17 09:01:32.775  (Homewizard) Ended handle route /get-status
2017-03-17 09:01:47.649  (Homewizard) Calling message handler 'onHeartbeat'.
2017-03-17 09:01:47.791  (Homewizard) Received route: /get-status
2017-03-17 09:01:47.791  (Homewizard) Starting handle route /get-status
2017-03-17 09:01:47.794  (Homewizard) Ended handle route /get-status
2017-03-17 09:02:02.668  (Homewizard) Calling message handler 'onHeartbeat'.
2017-03-17 09:02:02.806  (Homewizard) Received route: /get-status
2017-03-17 09:02:02.806  (Homewizard) Starting handle route /get-status
2017-03-17 09:02:02.809  (Homewizard) Ended handle route /get-status
2017-03-17 09:02:17.633  (Homewizard) Calling message handler 'onHeartbeat'.
2017-03-17 09:02:17.772  (Homewizard) Received route: /get-status
2017-03-17 09:02:17.772  (Homewizard) Starting handle route /get-status
2017-03-17 09:02:17.774  (Homewizard) Ended handle route /get-status
2017-03-17 09:02:32.648  (Homewizard) Calling message handler 'onHeartbeat'.
2017-03-17 09:02:32.788  (Homewizard) Received route: /get-status
2017-03-17 09:02:32.788  (Homewizard) Starting handle route /get-status
2017-03-17 09:02:32.791  (Homewizard) Ended handle route /get-status
2017-03-17 09:02:47.665  (Homewizard) Calling message handler 'onHeartbeat'.
2017-03-17 09:02:47.805  (Homewizard) Received route: /get-status
2017-03-17 09:02:47.805  (Homewizard) Starting handle route /get-status
2017-03-17 09:02:47.806  (Terrasse) Updating device from 0:'12.9;40;0' to have values 0:'13.0;39;0'.
2017-03-17 09:02:47.809  (Homewizard) Update 0:'13.0;39;0' (Terrasse)
2017-03-17 09:02:47.811  (Homewizard) Ended handle route /get-status
2017-03-17 09:03:02.635  (Homewizard) Calling message handler 'onHeartbeat'.
2017-03-17 09:03:02.779  (Homewizard) Received route: /get-status
2017-03-17 09:03:02.780  (Homewizard) Starting handle route /get-status
2017-03-17 09:03:02.782  (Wattcher) Updating device from 0:'280;9850.0' to have values 0:'240;9850.0'.
2017-03-17 09:03:02.785  (Homewizard) Update 0:'240;9850.0' (Wattcher)
2017-03-17 09:03:02.785  (Homewizard) Ended handle route /get-status
[Edit] I think my problem is because I have to many devices on my homewizard ... So, is there any way to just update devices I added in domoticz ?
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 »

brogen67 wrote:Hi Warren, thanks for reply. Ok, now I have same log as you ^^

So, I tried many configuration with different Poll intervall... but problem is not solved.

I only have 7 devices in domoticz from homewizard.

Here is my log (sorry it's log to have most of infos) :
[Edit] I think my problem is because I have to many devices on my homewizard ... So, is there any way to just update devices I added in domoticz ?
Hi Brogen,

Can you please sent me the output of: http://HOMEWIZARD_IPADDRESS/HOMEWIZARD_PASSWORD/swlist

For me it seems you have a device that is causing the error...
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest