Re: Siemens/Bosch Home Connect Ecosystem
Posted: Wednesday 21 October 2020 21:10
Sorry my reply (previous post) was in Dutch , now translated to English....
Open source Home Automation System
https://forum.domoticz.com/
Bink, I don't have a Home Connect extractor hood (afzuigkap) myself.bink wrote: ↑Tuesday 10 November 2020 15:14 Stumbled on this nice plugin while trying to automate some of my Siemens Homeconnect devices in the kitchen. Great work!
So far I managed to get the Oven and Dishwasher working. Just wondering if it's also possible to control an "afzuigkap" through this plugin? I would be especially interested to be able to switch it's integrated lighting from domoticz so I can sync it with my HUE light bulbs.
Code: Select all
2020-12-16 09:48:08.322 Error: (Domoticz-Home-Connect-Plugin) failed to load 'plugin.py', Python Path used was 'C:\Program Files (x86)\Domoticz\plugins\DomoticzHomeConnect\;C:\Program Files (x86)\Python35-32\python35.zip;C:\Program Files (x86)\Python35-32\Lib\;C:\Program Files (x86)\Python35-32\DLLs\;C:\Program Files (x86)\Domoticz;C:\Program Files (x86)\Python35-32;C:\Program Files (x86)\Python35-32\lib\site-packages'.
2020-12-16 09:48:08.322 Error: (Lavastoviglie Cucina) Module Import failed, exception: 'ImportError'
2020-12-16 09:48:08.322 Error: (Lavastoviglie Cucina) Module Import failed: ' Name: requests'
2020-12-16 09:48:08.322 Error: (Lavastoviglie Cucina) Error Line details not available.
Code: Select all
2020-12-30 20:16:04.163 Status: (Dishwasher) Exiting work loop.
2020-12-30 20:16:04.463 Status: (Dishwasher) Stopping threads.
2020-12-30 20:16:04.463 Status: (Dishwasher) Stopped.
2020-12-30 20:16:04.463 Status: (Dishwasher) Started.
2020-12-30 20:16:05.395 (Dishwasher) onStart called Domoticz-Home-Connect-Plugin
2020-12-30 20:16:05.732 (Dishwasher) device_code: xxx
2020-12-30 20:16:05.732 (Dishwasher) verification_uri_complete: https://api.home-connect.com/security/oauth/device_verify?user_code=yyy
2020-12-30 20:16:05.392 Status: (Dishwasher) Entering work loop.
2020-12-30 20:16:05.393 Status: (Dishwasher) Initialized version 3.2.1, author 'Mario Peters'
2020-12-30 20:16:06.444 (Dishwasher) sessionid: CTYPE html>
2020-12-30 20:16:06.621 (Dishwasher) Device "xxx" is authorized by Home-Connect.
2020-12-30 20:16:07.038 (Dishwasher) Device "xxx" has token:
2020-12-30 20:16:07.271 Error: (Dishwasher) 'onStart' failed 'TypeError':'string indices must be integers'.
2020-12-30 20:16:07.271 Error: (Dishwasher) ----> Line 459 in '/home/pi/domoticz/plugins/Domoticz-Home-Connect-Plugin-master/plugin.py'
2020-12-30 20:16:07.271 Error: (Dishwasher) ----> Line 95 in '/home/pi/domoticz/plugins/Domoticz-Home-Connect-Plugin-master/plugin.py'
2020-12-30 20:16:07.271 Error: (Dishwasher) ----> Line 91 in '/home/pi/domoticz/plugins/Domoticz-Home-Connect-Plugin-master/homeconnecthelper.py'
2020-12-30 20:16:16.785 (Dishwasher) onHeartbeat called
Have you solved this issue? having the same problemUltimato wrote: ↑Monday 14 December 2020 21:47 Hi,
I have implemented the plugin and when running the dishwasher I can request the status of the created devices.
But... I have to manually update them via Hardware --> select plugin --> update
The dishwasher (Bosch) does not trigger any updates.
Is there any way to auto-update?
Ever solved this? Now at the same point. Script is running set port 8081 in the hardware and .sh file..but devices are not being updated.joshuas wrote: ↑Thursday 22 October 2020 22:51 Hi
No there are no errors in the domoticz log. I added some extra logline. It's starting up, it is authorised
2020-10-22 22:34:59.159 Status: (Wasmachine) Started.
2020-10-22 22:34:59.788 Status: (Wasmachine) Entering work loop.
2020-10-22 22:34:59.789 Status: (Wasmachine) Initialized version 2.0.2, author 'Mario Peters'
2020-10-22 22:34:59.791 (Wasmachine) onStart called Domoticz-Home-Connect-Plugin
2020-10-22 22:34:59.791 (Wasmachine) Custom Icons: False
2020-10-22 22:34:59.791 (Wasmachine) {}
2020-10-22 22:34:59.791 (Wasmachine) connectHomeConnect
2020-10-22 22:34:59.791 (Wasmachine) scope IdentifyAppliance Washer
2020-10-22 22:35:00.298 (Wasmachine) device_code: blabla
2020-10-22 22:35:00.298 (Wasmachine) verification_uri_complete: https://api.home-connect.com/security/o ... r_code=xxx
2020-10-22 22:35:00.298 (Wasmachine) user_code: xxx
2020-10-22 22:35:01.164 (Wasmachine) sessionid: 0e554cd0-14a6-11eb-883e-8398a77bac45
2020-10-22 22:35:01.969 (Wasmachine) Device "blabla" is authorized by Home-Connect.
2020-10-22 22:35:02.255 (Wasmachine) Device "blabla" has token: [token]
2020-10-22 22:35:02.452 (Wasmachine) name --> Wasmachine
2020-10-22 22:35:02.452 (Wasmachine) brand --> Siemens
2020-10-22 22:35:02.452 (Wasmachine) vib --> WM14T6H6NL
2020-10-22 22:35:02.452 (Wasmachine) connected --> False
2020-10-22 22:35:02.452 (Wasmachine) type --> Washer
2020-10-22 22:35:02.452 (Wasmachine) enumber --> WM14T6H6NL/01
2020-10-22 22:35:02.452 (Wasmachine) haId --> SIEMENS-WM14T6H6NL-68A4
2020-10-22 22:35:02.452 (Wasmachine) getActiveProgram
2020-10-22 22:35:02.637 (Wasmachine) Listen on Home-Connect Webserver - Port: 8081
2020-10-22 22:35:12.159 (Wasmachine) onHeartbeat called
2020-10-22 22:35:22.178 (Wasmachine) onHeartbeat called
And thats it, the onHeartbeat repeats every 10 seconds.
Ever solved this? Now at the same point. Script is running set port 8081 in the hardware and .sh file..but devices are not being updated.joshuas wrote: ↑Thursday 22 October 2020 22:51 Hi
No there are no errors in the domoticz log. I added some extra logline. It's starting up, it is authorised
2020-10-22 22:34:59.159 Status: (Wasmachine) Started.
2020-10-22 22:34:59.788 Status: (Wasmachine) Entering work loop.
2020-10-22 22:34:59.789 Status: (Wasmachine) Initialized version 2.0.2, author 'Mario Peters'
2020-10-22 22:34:59.791 (Wasmachine) onStart called Domoticz-Home-Connect-Plugin
2020-10-22 22:34:59.791 (Wasmachine) Custom Icons: False
2020-10-22 22:34:59.791 (Wasmachine) {}
2020-10-22 22:34:59.791 (Wasmachine) connectHomeConnect
2020-10-22 22:34:59.791 (Wasmachine) scope IdentifyAppliance Washer
2020-10-22 22:35:00.298 (Wasmachine) device_code: blabla
2020-10-22 22:35:00.298 (Wasmachine) verification_uri_complete: https://api.home-connect.com/security/o ... r_code=xxx
2020-10-22 22:35:00.298 (Wasmachine) user_code: xxx
2020-10-22 22:35:01.164 (Wasmachine) sessionid: 0e554cd0-14a6-11eb-883e-8398a77bac45
2020-10-22 22:35:01.969 (Wasmachine) Device "blabla" is authorized by Home-Connect.
2020-10-22 22:35:02.255 (Wasmachine) Device "blabla" has token: [token]
2020-10-22 22:35:02.452 (Wasmachine) name --> Wasmachine
2020-10-22 22:35:02.452 (Wasmachine) brand --> Siemens
2020-10-22 22:35:02.452 (Wasmachine) vib --> WM14T6H6NL
2020-10-22 22:35:02.452 (Wasmachine) connected --> False
2020-10-22 22:35:02.452 (Wasmachine) type --> Washer
2020-10-22 22:35:02.452 (Wasmachine) enumber --> WM14T6H6NL/01
2020-10-22 22:35:02.452 (Wasmachine) haId --> SIEMENS-WM14T6H6NL-68A4
2020-10-22 22:35:02.452 (Wasmachine) getActiveProgram
2020-10-22 22:35:02.637 (Wasmachine) Listen on Home-Connect Webserver - Port: 8081
2020-10-22 22:35:12.159 (Wasmachine) onHeartbeat called
2020-10-22 22:35:22.178 (Wasmachine) onHeartbeat called
And thats it, the onHeartbeat repeats every 10 seconds.