@patrikr76 thank you so much. I had the same issue with my motion sensor and spent 2 days pulling my hair out)
bereska
@bereska
Best posts made by bereska
-
RE: 💬 Motion Sensor
-
RE: can't get DHT22 sensor to work with home assistant via mqtt gateway
hi again
I got it workingInsex00|⸮⸮E⸮V⸮U⸮ 23:24:18.693 -> __ __ ____ 23:24:18.693 -> | \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___ 23:24:18.693 -> | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __| 23:24:18.693 -> | | | | |_| |___| | __/ | | \__ \ _ | | \__ \ 23:24:18.728 -> |_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/ 23:24:18.728 -> |___/ 2.3.0 23:24:18.728 -> 23:24:18.728 -> 16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.3.0 23:24:18.728 -> 25 TSM:INIT 23:24:18.728 -> 26 TSF:WUR:MS=0 23:24:18.728 -> 33 TSM:INIT:TSP OK 23:24:18.728 -> 35 TSM:INIT:STATID=22 23:24:18.728 -> 37 TSF:SID:OK,ID=22 23:24:18.728 -> 39 TSM:FPAR 75 TSF:MSG:SEND,22-22-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 880 TSF:MSG:READ,0-0-22,s=255,c=3,t=8,pt=1,l=1,sg=0:0 23:24:19.581 -> 885 TSF:MSG:FPAR OK,ID=0,D=1 2082 TSM:FPAR:OK 23:24:20.765 -> 2083 TSM:ID 23:24:20.765 -> 2084 TSM:ID:OK 23:24:20.800 -> 2086 TSM:UPL 23:24:20.800 -> 2089 TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 23:24:20.800 -> 2096 TSF:MSG:READ,0-0-22,s=255,c=3,t=25,pt=1,l=1,sg=0:1 23:24:20.800 -> 2101 TSF:MSG:PONG RECV,HP=1 23:24:20.800 -> 2104 TSM:UPL:OK 23:24:20.800 -> 2105 TSM:READY:ID=22,PAR=0,DIS=1 23:24:20.800 -> 2110 TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 23:24:20.800 -> 2116 TSF:MSG:READ,0-0-22,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 23:24:20.833 -> 2126 TSF:MSG:SEND,22-22-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.3.0 23:24:20.833 -> 2135 TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 4142 TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=11,pt=0,l=5,sg=0,ft=0,st=OK:DHT22 23:24:22.854 -> 4151 TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.0 23:24:22.854 -> 4159 TSF:MSG:SEND,22-22-0-0,s=1,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 23:24:22.854 -> 4166 TSF:MSG:SEND,22-22-0-0,s=0,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK: 23:24:22.854 -> 4172 MCO:REG:REQ 23:24:22.854 -> 4176 TSF:MSG:SEND,22-22-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 23:24:22.890 -> 4183 TSF:MSG:READ,0-0-22,s=255,c=3,t=27,pt=1,l=1,sg=0:1 23:24:22.890 -> 4188 MCO:PIM:NODE REG=1 23:24:22.890 -> 4190 MCO:BGN:STP 6192 MCO:SLP:MS=2000,SMS=0,I1=255,M1=255,I2=255,M2=255 23:24:24.891 -> 6197 TSF:TDI:TSL 6199 MCO:SLP:WUP=-1 23:24:27.107 -> 6200 TSF:TRI:TSB 6207 MCO:BGN:INIT OK,TSP=1 23:24:27.142 -> Failed reading temperature from DHT! 23:24:27.142 -> Failed reading humidity from DHT 16218 TSF:MSG:SEND,22-22-0-0,s=0,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:24.9 23:24:37.137 -> T: 24.90 23:24:37.137 -> 16227 TSF:MSG:SEND,22-22-0-0,s=1,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:51.7 23:24:37.137 -> H: 51.70 26242 TSF:MSG:SEND,22-22-0-0,s=0,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:24.8 23:24:47.138 -> T: 24.80 23:24:47.138 -> 26251 TSF:MSG:SEND,22-22-0-0,s=1,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:51.9 23:24:47.138 -> H: 51.90 rt Code Here
but the sensor fails to show up in home assistant dashboard(
afrter restarting homeassistant I found this in homeassistant log:018-11-06 05:40:14 INFO (MainThread) [mysensors] Stopping gateway Config directory: /config starting version 3.2.5 2018-11-06 05:40:34 INFO (MainThread) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api 2018-11-06 05:40:34 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized 2018-11-06 05:40:34 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history 2018-11-06 05:40:34 INFO (MainThread) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder 2018-11-06 05:40:34 INFO (MainThread) [homeassistant.loader] Loaded http from homeassistant.components.http 2018-11-06 05:40:34 INFO (MainThread) [homeassistant.loader] Loaded mqtt from homeassistant.components.mqtt 2018-11-06 05:40:34 INFO (MainThread) [homeassistant.setup] Setting up mqtt 2018-11-06 05:40:34 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.0 seconds. 2018-11-06 05:40:34 INFO (MainThread) [homeassistant.loader] Loaded logger from homeassistant.components.logger 2018-11-06 05:40:34 INFO (MainThread) [homeassistant.setup] Setting up logger 2018-11-06 05:40:34 ERROR (MainThread) [homeassistant.components.mqtt] Failed to connect due to exception: [Errno 111] Connection refused 2018-11-06 05:40:40 WARNING (MainThread) [homeassistant.components.mysensors] debug option for mysensors is deprecated. Please remove debug from your configuration file 2018-11-06 05:40:40 DEBUG (SyncWorker_0) [mysensors.persistence] Loading sensors from persistence file /config/mysensors1.pickle 2018-11-06 05:40:41 DEBUG (SyncWorker_1) [mysensors.persistence] Saving sensors to persistence file /config/mysensors1.pickle 2018-11-06 05:40:42 INFO (MainThread) [mysensors.gateway_mqtt] Setting up initial MQTT topic subscription 2018-11-06 05:40:42 DEBUG (MainThread) [mysensors.gateway_mqtt] Subscribing to: mygateway1-out/+/+/0/+/+, qos: 0 2018-11-06 05:40:42 DEBUG (MainThread) [mysensors.gateway_mqtt] Subscribing to: mygateway1-out/+/+/3/+/+, qos: 0 2018-11-06 05:40:42 DEBUG (MainThread) [mysensors.gateway_mqtt] Subscribing to: mygateway1-out/0/+/4/+/+, qos: 0 2018-11-06 05:40:42 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to mygateway1-out/+/+/0/+/+ 2018-11-06 05:40:42 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to mygateway1-out/+/+/3/+/+ 2018-11-06 05:40:42 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to mygateway1-out/0/+/4/+/+ 2018-11-06 05:40:43 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 279, in async_subscribe topic, msg_callback, qos, encoding) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 659, in async_subscribe await self._async_perform_subscription(topic, qos) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 694, in _async_perform_subscription _raise_on_error(result) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 779, in _raise_on_error 'Error talking to MQTT: {}'.format(mqtt.error_string(result_code))) homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: The client is not currently connected. 2018-11-06 05:40:43 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 279, in async_subscribe topic, msg_callback, qos, encoding) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 659, in async_subscribe await self._async_perform_subscription(topic, qos) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 694, in _async_perform_subscription _raise_on_error(result) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 779, in _raise_on_error 'Error talking to MQTT: {}'.format(mqtt.error_string(result_code))) homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: The client is not currently connected. 2018-11-06 05:40:43 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 279, in async_subscribe topic, msg_callback, qos, encoding) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 659, in async_subscribe await self._async_perform_subscription(topic, qos) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 694, in _async_perform_subscription _raise_on_error(result) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 779, in _raise_on_error 'Error talking to MQTT: {}'.format(mqtt.error_string(result_code))) homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: The client is not currently connected. 2018-11-06 05:40:50 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting 2018-11-06 05:40:54 WARNING (SyncWorker_9) [netdisco.ssdp] Error fetching description at http://192.168.1.68:49152/wps_device.xml
any help is much appreciated
thank you
Latest posts made by bereska
-
RE: 💬 Motion Sensor
@patrikr76 thank you so much. I had the same issue with my motion sensor and spent 2 days pulling my hair out)
-
RE: 💬 Water Meter Pulse Sensor
@rejoe2 i did like you said, still no show in HA
here is the serial log:__ __ ____ | \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___ | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __| | | | | |_| |___| | __/ | | \__ \ _ | | \__ \ |_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/ |___/ 2.3.0 16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.3.0 26 TSM:INIT 28 TSF:WUR:MS=0 34 !TSM:INIT:TSP FAIL 36 TSM:FAIL:CNT=1 38 TSM:FAIL:DIS 40 TSF:TDI:TSL __ __ ____ | \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___ | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __| | | | | |_| |___| | __/ | | \__ \ _ | | \__ \ |_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/ |___/ 2.3.0 16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.3.0 26 TSM:INIT 28 TSF:WUR:MS=0 34 TSM:INIT:TSP OK 36 TSM:INIT:STATID=6 38 TSF:SID:OK,ID=6 40 TSM:FPAR 77 TSF:MSG:SEND,6-6-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 532 TSF:MSG:READ,0-0-6,s=255,c=3,t=8,pt=1,l=1,sg=0:0 538 TSF:MSG:FPAR OK,ID=0,D=1 624 TSF:MSG:READ,31-31-6,s=255,c=3,t=8,pt=1,l=1,sg=0:1 1267 TSF:MSG:READ,21-21-6,s=255,c=3,t=8,pt=1,l=1,sg=0:1 1546 TSF:MSG:READ,41-41-6,s=255,c=3,t=8,pt=1,l=1,sg=0:1 2088 TSM:FPAR:OK 2088 TSM:ID 2091 TSM:ID:OK 2093 TSM:UPL 2097 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 2103 TSF:MSG:READ,0-0-6,s=255,c=3,t=25,pt=1,l=1,sg=0:1 2109 TSF:MSG:PONG RECV,HP=1 2113 TSM:UPL:OK 2115 TSM:READY:ID=6,PAR=0,DIS=1 2119 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 2127 TSF:MSG:READ,0-0-6,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 2138 TSF:MSG:SEND,6-6-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.3.0 2148 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 2242 TSF:MSG:READ,0-0-6,s=255,c=3,t=6,pt=0,l=1,sg=0:M 2250 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=11,pt=0,l=11,sg=0,ft=0,st=OK:Water Meter 2260 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1 2273 TSF:MSG:SEND,6-6-0-0,s=1,c=0,t=21,pt=0,l=0,sg=0,ft=0,st=OK: 2281 MCO:REG:REQ 2289 TSF:MSG:SEND,6-6-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 2297 TSF:MSG:READ,0-0-6,s=255,c=3,t=27,pt=1,l=1,sg=0:1 2304 MCO:PIM:NODE REG=1 2306 MCO:BGN:STP 2310 TSF:MSG:SEND,6-6-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK: 2318 MCO:BGN:INIT OK,TSP=1 32319 TSF:MSG:SEND,6-6-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
-
RE: 💬 Water Meter Pulse Sensor
@rejoe2 thank you. How do i trigger "the counter on Node side"?
-
RE: mysprinkler for mysensor and home assistant not working together
@johannes-schoeller did you find a solution? I am struggling to add a water meter pulse sensor to HA UI. Thank you
-
RE: 💬 Water Meter Pulse Sensor
Is it possible to get any help on this page or not?
-
RE: Relay shows up in mysensors.json but not in gui [homeassistant]
i can't get this sensor to show up in HA. Any ideas anyone?
-
RE: Relay shows up in mysensors.json but not in gui [homeassistant]
@jens-jensen it does send and register the name, no problem.
-
RE: Relay shows up in mysensors.json but not in gui [homeassistant]
@jens-jensen said in Relay shows up in mysensors.json but not in gui [homeassistant]:
V_FLOW and V_VOLUME values are sent after some time
no, V_FLOW and V_VOLUME values are NOT sent after some time
how to i modify the sketch to make it happen? -
WaterMeterPulseSensor not showing up in HA UI
HA docker on rpi 0.95.4
I have a dozen of mysensors sensors already running just fine via nrf24 gw + mqtt
But I have trouble adding this one water meter pulse sensor.
https://www.mysensors.org/build/pulse_water
It shows up in mysensors.json and ha logs but fails to appear in states and GUI.
I think the problem is the default sketch does not send an initial value to gw, but I lack knowledge modifying it properly.
Thank you for your help