Drayton Wiser heating system with Domoticz
Moderator: leecollings
-
- Posts: 9
- Joined: Thursday 10 October 2019 22:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: UK
- Contact:
Re: Drayton Wiser heating system with Domoticz
Hi Paul
Quick update
After some messing about i still can't get the blockly working but...
The 'Away Mode'button is working perfectly.
Fantastic job i now have Temperature devices for each room, Setpoints for each room and 'Away' mode all available in Domoticz
Thank you very much for your time and efforts
Quick update
After some messing about i still can't get the blockly working but...
The 'Away Mode'button is working perfectly.
Fantastic job i now have Temperature devices for each room, Setpoints for each room and 'Away' mode all available in Domoticz
Thank you very much for your time and efforts
-
- Posts: 17
- Joined: Tuesday 15 January 2019 3:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Drayton Wiser heating system with Domoticz
Thanks. I have figured out the problem, but still thinking how to solve it. It is related to changing more than one setpoint at a time (in a single event). I'm going to be a away for a few days, but I should have a fix later next week.
Paul
Paul
-
- Posts: 9
- Joined: Thursday 10 October 2019 22:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: UK
- Contact:
Re: Drayton Wiser heating system with Domoticz
Hi Paul
That's fantastic news, appreciate your efforts.
Working round it by building a delay into the blockly using a variable for now, seems to work fine.
Cheers
Chris
That's fantastic news, appreciate your efforts.
Working round it by building a delay into the blockly using a variable for now, seems to work fine.
Cheers
Chris
Re: Drayton Wiser heating system with Domoticz
Appreciate the work you've done on this plugin.
I'm new to Domoticz and to Wiser (only installed for a day), but have setup a docker container using your plugin.
I noticed an error earlier which stopped the plugin collecting data until domoticz was restarted:
2019-11-26 16:19:42.777 Status: (Wiser1) Entering work loop.
2019-11-26 16:19:42.777 Status: (Wiser1) Initialized version 1.0.0, author 'bluebook'
2019-11-26 16:53:51.469 Error: (Wiser1): Async Read Exception: 104, Connection reset by peer
2019-11-26 16:54:43.260 Error: PluginSystem: Exception processing message.
2019-11-26 16:55:55.159 Error: Wiser1 hardware (2) thread seems to have ended unexpectedly
2019-11-26 19:00:46.430 Error: (Wiser1) 'onMessage' failed 'JSONDecodeError'.
2019-11-26 19:00:46.430 Error: (Wiser1) ----> Line 497 in '/config/plugins/Wiser/plugin.py', function onMessage
2019-11-26 19:00:46.430 Error: (Wiser1) ----> Line 429 in '/config/plugins/Wiser/plugin.py', function onMessage
2019-11-26 19:00:46.430 Error: (Wiser1) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2019-11-26 19:00:46.430 Error: (Wiser1) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2019-11-26 19:00:46.430 Error: (Wiser1) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
Also, my plan is to eventually have a pretty dashboard which I can display on a tablet with the ability to modify temperatures in each zone (similar to how the evohome display allows). Wondering if anyone has already done something like this? At the moment, I'm unable to modify the set point of a thermostat using the Utility tab - it modifies in Domiticz, but has no effect on the Wiser heat hub.
EDIT - I've turned on debugging now to try and capture what is going on.
I'm new to Domoticz and to Wiser (only installed for a day), but have setup a docker container using your plugin.
I noticed an error earlier which stopped the plugin collecting data until domoticz was restarted:
2019-11-26 16:19:42.777 Status: (Wiser1) Entering work loop.
2019-11-26 16:19:42.777 Status: (Wiser1) Initialized version 1.0.0, author 'bluebook'
2019-11-26 16:53:51.469 Error: (Wiser1): Async Read Exception: 104, Connection reset by peer
2019-11-26 16:54:43.260 Error: PluginSystem: Exception processing message.
2019-11-26 16:55:55.159 Error: Wiser1 hardware (2) thread seems to have ended unexpectedly
2019-11-26 19:00:46.430 Error: (Wiser1) 'onMessage' failed 'JSONDecodeError'.
2019-11-26 19:00:46.430 Error: (Wiser1) ----> Line 497 in '/config/plugins/Wiser/plugin.py', function onMessage
2019-11-26 19:00:46.430 Error: (Wiser1) ----> Line 429 in '/config/plugins/Wiser/plugin.py', function onMessage
2019-11-26 19:00:46.430 Error: (Wiser1) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2019-11-26 19:00:46.430 Error: (Wiser1) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2019-11-26 19:00:46.430 Error: (Wiser1) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
Also, my plan is to eventually have a pretty dashboard which I can display on a tablet with the ability to modify temperatures in each zone (similar to how the evohome display allows). Wondering if anyone has already done something like this? At the moment, I'm unable to modify the set point of a thermostat using the Utility tab - it modifies in Domiticz, but has no effect on the Wiser heat hub.
EDIT - I've turned on debugging now to try and capture what is going on.
Re: Drayton Wiser heating system with Domoticz
Ignore the above - I was using the stable docker image of domoticz. Once I updated to latest, it seems to be ok.
Managed to get a dashticz dashboard setup and heating display and control work fine. Great work !
Now need to come up with an easy to use dashboard to be able to display and control all of the heating from a single wall mounted tablet.
Managed to get a dashticz dashboard setup and heating display and control work fine. Great work !
Now need to come up with an easy to use dashboard to be able to display and control all of the heating from a single wall mounted tablet.
-
- Posts: 17
- Joined: Tuesday 15 January 2019 3:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Drayton Wiser heating system with Domoticz
I've pushed a new version of the plugin which should be able to cope properly with multiple commands in quick succession and no pause between them. It works ok in my testing, but interested in any feedback.
@fezster I will be interested in your tablet dashboard.
@fezster I will be interested in your tablet dashboard.
-
- Posts: 17
- Joined: Tuesday 15 January 2019 3:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Drayton Wiser heating system with Domoticz
For info, there was a bug in the python plugin framework that could cause the whole thing to crash if received messages were fragmented in a particular way. For some reason that is quite common with the Drayton Wiser. Domoticz continues to run, but all plugins stop. That has been fixed in the latest dev version (4.11605).
-
- Posts: 111
- Joined: Wednesday 12 October 2016 14:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Drayton Wiser heating system with Domoticz
Hi Guys,
Just wondering if any of you are still using this plugin? if so, any issues with it?
I think something may have changed today and suddenly all my plugins are stopping. Still trying to narrow down what is causing the issue, so it might not be this plugin, but though i would check.
Cheers
Sach
Just wondering if any of you are still using this plugin? if so, any issues with it?
I think something may have changed today and suddenly all my plugins are stopping. Still trying to narrow down what is causing the issue, so it might not be this plugin, but though i would check.
Cheers
Sach
-
- Posts: 111
- Joined: Wednesday 12 October 2016 14:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Drayton Wiser heating system with Domoticz
Few hours of troubleshoot and I've come to the conclusion that the Wiser plugin is definitely causing the issue, in particular the hot water part.
If I set the hot water switch on either Domoticz or the App then when the plugin attempts to update, it crashes the plugin system.
I don't really need to hot water part, i set it on a timer in the app and forget about it, but the heating is vital as this switches the boiler on if a room requests heat. I have #'d out the hot water parts for now.
Though I would share in case anyone was experiencing the same issue.
If I set the hot water switch on either Domoticz or the App then when the plugin attempts to update, it crashes the plugin system.
I don't really need to hot water part, i set it on a timer in the app and forget about it, but the heating is vital as this switches the boiler on if a room requests heat. I have #'d out the hot water parts for now.
Though I would share in case anyone was experiencing the same issue.
-
- Posts: 111
- Joined: Wednesday 12 October 2016 14:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Drayton Wiser heating system with Domoticz
I spoke too soon, posted the above and it crashed straight after.
Disabling the plugin for now. Why cant these things ever happen in summer when I don't need the heating?
Disabling the plugin for now. Why cant these things ever happen in summer when I don't need the heating?
-
- Posts: 3
- Joined: Wednesday 20 November 2019 21:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Drayton Wiser heating system with Domoticz
Something has definitely changed, my plugin is not working either. I have the error "Error: Drayton Wiser hardware (9) thread seems to have ended unexpectedly" The IDX of the Drayton hardware is 9. I tried deleting the hardware and reinstalling in Domoticz, but to no avail.
-
- Posts: 17
- Joined: Tuesday 15 January 2019 3:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Drayton Wiser heating system with Domoticz
I have hit this too. I will investigate as soon as I can, but it will be a couple of days.
-
- Posts: 3
- Joined: Wednesday 20 November 2019 21:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Drayton Wiser heating system with Domoticz
I spoke to Drayton today about a related problem with their app, the temperature history from each TRV has stopped working. They were aware of the problem and was connected to a hub firmware update in the last day or so. I guess this might be the reason for the sudden failure of the Domoticz plugin.
-
- Posts: 17
- Joined: Tuesday 15 January 2019 3:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Drayton Wiser heating system with Domoticz
I have now confirmed that the issue is caused by a bug in the latest Wiser firmware. It sends some spurious data at the end of the response to an API query. That in turn causes a crash inside the domoticz plugin framework (not the plugin itself). The framework is not as robust as it could be, and basically does not deal well with any badly formed requests or responses. Although the real bug is in the firmware I am going to solve it by making domoticz itself a bit more robust, since I can't do anything to the firmware but I can update domoticz. That means that unless Drayton fix the firmware first it will be necessary to update to a new domoticz version.
I will update here when I have made the fix an submitted the PR. Then it's just a question of how quickly it gets merged, or you have to build your own form source.
I will update here when I have made the fix an submitted the PR. Then it's just a question of how quickly it gets merged, or you have to build your own form source.
-
- Posts: 17
- Joined: Tuesday 15 January 2019 3:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Drayton Wiser heating system with Domoticz
Please see https://github.com/bloob00k/domoticz/issues/4 for details. There's a work-around which I have submitted as a PR to domoticz, but the best solution will be for Drayton to fix the problem on their side.
Who is online
Users browsing this forum: No registered users and 1 guest