Hola clau67, the lights go!
Now the problem is the sensors.
I have a central 99 zones with 4 + 1 zones set.
from your guide
“value you set with 2 jumpers on the probe or central unit wall es 11, 12 …”
But I have the following “addresses” as zones
Camera zona 1
Studio zona 2
Bagno zona 3
Salone zona 4
Quadro elettric
This is part of the Hass.io log and the MH200N monitor where the request is executed.
Thank you for your patience.
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
yield from self.async_device_update()
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/sensor/my_home.py", line 95, in update
self._state=self._gate.answ_read_temperature(self._indirizzo)
File "/config/deps/lib/python3.6/site-packages/OpenWebNet.py", line 455, in answ_read_temperature
valore = float(self.stato_answer('4',where,'0'))/10
File "/config/deps/lib/python3.6/site-packages/OpenWebNet.py", line 409, in stato_answer
return self.sensor_risposta[where]
KeyError: '2'
Thu May 31 2018 18:03:37 GMT+0200 (ora legale Europa occidentale)
Update for sensor.temp_quadro fails
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
yield from self.async_device_update()
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/sensor/my_home.py", line 95, in update
self._state=self._gate.answ_read_temperature(self._indirizzo)
File "/config/deps/lib/python3.6/site-packages/OpenWebNet.py", line 455, in answ_read_temperature
valore = float(self.stato_answer('4',where,'0'))/10
File "/config/deps/lib/python3.6/site-packages/OpenWebNet.py", line 409, in stato_answer
return self.sensor_risposta[where]
KeyError: '105'
Thu May 31 2018 18:03:37 GMT+0200 (ora legale Europa occidentale)
Update for sensor.temp_camera fails
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
yield from self.async_device_update()
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/sensor/my_home.py", line 95, in update
self._state=self._gate.answ_read_temperature(self._indirizzo)
File "/config/deps/lib/python3.6/site-packages/OpenWebNet.py", line 455, in answ_read_temperature
valore = float(self.stato_answer('4',where,'0'))/10
File "/config/deps/lib/python3.6/site-packages/OpenWebNet.py", line 409, in stato_answer
return self.sensor_risposta[where]
KeyError: '1'
###########################################################################
Socket MONITOR
31/05/2018 18:03:03:580 Mon: *1*0*11##
31/05/2018 18:03:03:968 Mon: *1*0*31##
31/05/2018 18:03:07:676 Mon: *#4*105*0*0296##
31/05/2018 18:03:07:814 Mon: *#4*1*0*0262##
31/05/2018 18:03:07:927 Mon: *#4*2*0*0265##
31/05/2018 18:03:14:454 Mon: *1*0*31##
31/05/2018 18:03:14:517 Mon: *1*0*11##
31/05/2018 18:03:17:041 Mon: *#13**22*18*01*32*001*04*31*05*2018##
31/05/2018 18:03:25:435 Mon: *1*0*11##
31/05/2018 18:03:25:518 Mon: *1*0*31##
31/05/2018 18:03:36:427 Mon: *1*0*11##
31/05/2018 18:03:36:521 Mon: *1*0*31##
31/05/2018 18:03:38:648 Mon: *#4*2*0*0265##
31/05/2018 18:03:38:843 Mon: *#4*105*0*0296##
31/05/2018 18:03:39:026 Mon: *#4*1*0*0262##
31/05/2018 18:03:47:102 Mon: *#13**22*18*02*02*001*04*31*05*2018##
31/05/2018 18:03:47:430 Mon: *1*0*11##
31/05/2018 18:03:47:524 Mon: *1*0*31##
This is my config
sensor:
# NYHOME SENSOR
- platform: my_home
devices:
- name: 'Temp camera'
indirizzo: '1'
- platform: my_home
devices:
- name: 'Temp Studio'
indirizzo: '2'
- platform: my_home
devices:
- name: 'Temp Quadro'
indirizzo: '105