Thanks. I will do that...
alterfritz
@alterfritz
Best posts made by alterfritz
-
RE: Flashed mysensors dev branch to my sensors - not showing up in home assistant
-
Raspberry Pi stability problem
Hi,
running a raspi 3 with raspbian
pi@pi:~ $ uname -a
Linux pi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/LinuxHave updated the system to latest status but I still have lots of stability issues with the gateway.
I build it with
...
git clone https://github.com/mysensors/MySensors.git --branch development
cd MySensors/
./configure --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --my-rf24-ce-pin=22 --my-rf24-cs-pin=24
make
cd MySensors/bin/
sudo ./mysgw -d...
It works but very very unstable - if new sensor come online the gateway goes down with a segmentation fault.
Its basically not usable. As mysensors have such a great reputation plus I already placed lots of sensors in my place - how I can get a mqtt gateway stable? What version? maybe some configure switches I forgot.
I tried different pi's, different NRF24L01 modules, they have an extra capacitor etc.
I really get frustrated and I can not believe its that unstable, so there must be something I must do wrong.
Who has run it on a pi with out issues?
Many thanks!
Regards
Joerg -
RE: Raspberry Pi stability problem
Just to let you know - I have uploaded the ESP8266 sketch (from 2.1.1) via Arduino IDE, seems to run stable with the same NRF24L01 module.
But if possible I would like to go back to have all run on the raspi.
Again thanks for all that support here!
Latest posts made by alterfritz
-
RE: Flashed mysensors dev branch to my sensors - not showing up in home assistant
Thanks. I will do that...
-
RE: Flashed mysensors dev branch to my sensors - not showing up in home assistant
Correct - I flashed it some time ago - actually I detect 1 min. ago if I remove some parts of the config ...
customize:
light.WallLight1_1_1:
friendly_name: WallLight 1
light.WallLight6_6_1:
friendly_name: WallLight 2
light.WallLight3_3_1:
friendly_name: WallLight 3
light.WallLight4_4_1:
friendly_name: WallLight 4
light.WallLight5_5_1:
friendly_name: WallLight 5
group.Wall_Lights:
friendly_name: Wandleuchten
the light appear ... I think I can get it working.
-
RE: Flashed mysensors dev branch to my sensors - not showing up in home assistant
WARNING (Thread-13) [homeassistant.components.mysensors] Invalid values: {3: '100'}: light platform: node 6 child 1: S_DIMMER requires value_type V_STATUS @ data[2]
That one seems wrong - but if possible I simply want to switch on / off the lights, no dimmer needed if I can avoid flashing the sensors again.
-
RE: Flashed mysensors dev branch to my sensors - not showing up in home assistant
I'm trying both the raspi mqtt and the esp8266 mqtt gateway. I have flashed the dev 2.1.1 branch towards a set of arduino pro mini led light, communication seems to work - I can see the sensors publishing towards mqtt.
My config in configuration.yaml:
...
mysensors:
gateways:
- device: mqtt
persistence_file: '/home/homeassistant/.homeassistant/mysensors.json'
topic_in_prefix: 'mysensors-out'
topic_out_prefix: 'mysensors-in'
optimistic: false
persistence: true
retain: true
version: '2.0'
...When I switch on the lights, I see messages appear on the mqtt:
mysensors-out/1/255/0/0/17 2.2.0-beta
mysensors-out/1/255/3/0/6 0
mysensors-in/1/255/3/0/6 M
mysensors-out/1/255/3/0/11 WallLight1
mysensors-out/1/255/3/0/12 1.0
mysensors-out/1/1/0/0/4 (null)
mysensors-out/1/1/1/0/3 100
mysensors-out/6/255/0/0/17 2.2.0-beta
mysensors-out/6/255/3/0/6 0
mysensors-out/5/255/0/0/17 2.2.0-beta
mysensors-out/5/255/3/0/6 0
mysensors-in/6/255/3/0/6 M
mysensors-in/5/255/3/0/6 M
mysensors-out/6/255/3/0/11 WallLight6
mysensors-out/6/255/3/0/12 1.0
mysensors-out/6/1/0/0/4 (null)
mysensors-out/5/255/3/0/12 1.0
mysensors-out/5/1/0/0/4 (null)
mysensors-out/5/1/1/0/3 100
mysensors-out/6/255/0/0/17 2.2.0-beta
mysensors-out/5/1/1/0/3 100
mysensors-out/6/1/1/0/3 100
mysensors-out/6/1/1/0/3 100
mysensors-out/3/255/3/0/6 0
mysensors-in/3/255/3/0/6 M
mysensors-out/3/1/0/0/4 (null)
mysensors-out/3/1/1/0/3 100
mysensors-out/3/255/3/0/6 0
mysensors-in/3/255/3/0/6 M
mysensors-out/3/255/3/0/11 WallLight3
mysensors-out/3/255/3/0/12 1.0
mysensors-out/4/255/0/0/17 2.2.0-beta
mysensors-out/4/255/3/0/6 0
mysensors-in/4/255/3/0/6 M
mysensors-out/4/1/0/0/4 (null)
mysensors-out/4/1/1/0/3 100
mysensors-out/4/255/0/0/17 2.2.0-beta
mysensors-out/4/255/3/0/6 0
mysensors-in/4/255/3/0/6 M
mysensors-out/4/255/3/0/11 WallLight4
mysensors-out/4/255/3/0/12 1.0However - they do not show up ... home assistant log shows like this...
Jan 22 18:03:57 pi hass[744]: 2018-01-22 18:03:57 DEBUG (Thread-6) [mysensors.gateway_mqtt] Receiving 4;255;3;0;27;WallLight4
Jan 22 18:03:57 pi hass[744]: 2018-01-22 18:03:57 DEBUG (Thread-13) [homeassistant.components.mysensors] Node update: node 4 child 255
Jan 22 18:03:57 pi hass[744]: 2018-01-22 18:03:57 DEBUG (Thread-13) [homeassistant.components.mysensors] Not a child update for node 4
Jan 22 18:03:58 pi hass[744]: 2018-01-22 18:03:58 DEBUG (Thread-4) [mysensors.gateway_mqtt] Receiving 4;255;3;0;11;WallLight4
Jan 22 18:03:58 pi hass[744]: 2018-01-22 18:03:58 DEBUG (Thread-13) [homeassistant.components.mysensors] Node update: node 4 child 255
Jan 22 18:03:58 pi hass[744]: 2018-01-22 18:03:58 DEBUG (Thread-13) [homeassistant.components.mysensors] Not a child update for node 4
Jan 22 18:03:58 pi hass[744]: 2018-01-22 18:03:58 DEBUG (Thread-9) [mysensors.gateway_mqtt] Receiving 1;1;1;0;3;100
Jan 22 18:03:58 pi hass[744]: 2018-01-22 18:03:58 DEBUG (Thread-13) [homeassistant.components.mysensors] Node update: node 1 child 1
Jan 22 18:03:58 pi hass[744]: 2018-01-22 18:03:58 WARNING (Thread-13) [homeassistant.components.mysensors] Invalid values: {19: '356', 3: '100'}: light platform: node 1 child 1: S_DIMMER requires value_type V_STATUS @ data[2]
Jan 22 18:03:59 pi hass[744]: 2018-01-22 18:03:59 DEBUG (Thread-7) [mysensors.gateway_mqtt] Receiving 1;1;1;0;3;100
Jan 22 18:03:59 pi hass[744]: 2018-01-22 18:03:59 DEBUG (Thread-13) [homeassistant.components.mysensors] Node update: node 1 child 1
Jan 22 18:03:59 pi hass[744]: 2018-01-22 18:03:59 WARNING (Thread-13) [homeassistant.components.mysensors] Invalid values: {19: '356', 3: '100'}: light platform: node 1 child 1: S_DIMMER requires value_type V_STATUS @ data[2]
Jan 22 18:04:00 pi hass[744]: 2018-01-22 18:04:00 DEBUG (Thread-10) [mysensors.gateway_mqtt] Receiving 4;1;1;0;3;100
Jan 22 18:04:00 pi hass[744]: 2018-01-22 18:04:00 DEBUG (Thread-13) [homeassistant.components.mysensors] Node update: node 4 child 1
Jan 22 18:04:00 pi hass[744]: 2018-01-22 18:04:00 WARNING (Thread-13) [homeassistant.components.mysensors] Invalid values: {3: '100'}: light platform: node 4 child 1: S_DIMMER requires value_type V_STATUS @ data[2]
Jan 22 18:04:00 pi hass[744]: 2018-01-22 18:04:00 DEBUG (Thread-8) [mysensors.gateway_mqtt] Receiving 4;1;1;0;3;100
Jan 22 18:04:00 pi hass[744]: 2018-01-22 18:04:00 DEBUG (Thread-13) [homeassistant.components.mysensors] Node update: node 4 child 1
Jan 22 18:04:00 pi hass[744]: 2018-01-22 18:04:00 WARNING (Thread-13) [homeassistant.components.mysensors] Invalid values: {3: '100'}: light platform: node 4 child 1: S_DIMMER requires value_type V_STATUS @ data[2]
Jan 22 18:04:00 pi hass[744]: 2018-01-22 18:04:00 DEBUG (Thread-5) [mysensors.gateway_mqtt] Receiving 4;1;1;0;3;100
Jan 22 18:04:00 pi hass[744]: 2018-01-22 18:04:00 DEBUG (Thread-13) [homeassistant.components.mysensors] Node update: node 4 child 1
Jan 22 18:04:00 pi hass[744]: 2018-01-22 18:04:00 WARNING (Thread-13) [homeassistant.components.mysensors] Invalid values: {3: '100'}: light platform: node 4 child 1: S_DIMMER requires value_type V_STATUS @ data[2]
Jan 22 18:04:03 pi hass[744]: 2018-01-22 18:04:03 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.10.211 (auth: True)
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-11) [mysensors.gateway_mqtt] Receiving 6;255;0;0;17;2.2.0-beta
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-3) [mysensors.gateway_mqtt] Receiving 6;255;3;0;6;0
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-13) [mysensors.gateway_mqtt] Publishing 6;255;3;0;6;M
Jan 22 18:04:04 pi hass[744]:
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_call_id=1972866000-41, domain=mqtt, service=publish, service_data=payload=M, topic=mysensors-in/6/255/3/0/6, qos=0, retain=True>
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1972866000-41>
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-9) [mysensors.gateway_mqtt] Receiving 6;255;3;0;11;WallLight6
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-2) [mysensors.gateway_mqtt] Receiving 6;255;3;0;12;1.0
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-4) [mysensors.gateway_mqtt] Receiving 6;1;0;0;4;
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-7) [mysensors.gateway_mqtt] Receiving 6;1;1;0;3;100
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-13) [homeassistant.components.mysensors] Node update: node 6 child 255
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-13) [homeassistant.components.mysensors] Not a child update for node 6
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-13) [homeassistant.components.mysensors] Node update: node 6 child 255
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-13) [homeassistant.components.mysensors] Not a child update for node 6
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 WARNING (Thread-13) [mysensors] child_id 1 already exists in children of node 6, cannot add child
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-13) [homeassistant.components.mysensors] Node update: node 6 child 1
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 WARNING (Thread-13) [homeassistant.components.mysensors] Invalid values: {3: '100'}: light platform: node 6 child 1: S_DIMMER requires value_type V_STATUS @ data[2]
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-10) [mysensors.gateway_mqtt] Receiving 6;255;0;0;17;2.2.0-beta
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-8) [mysensors.gateway_mqtt] Receiving 6;255;3;0;6;0
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 DEBUG (Thread-13) [mysensors.gateway_mqtt] Publishing 6;255;3;0;6;M
Jan 22 18:04:04 pi hass[744]:
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_call_id=1972866000-42, domain=mqtt, service=publish, service_data=payload=M, topic=mysensors-in/6/255/3/0/6, qos=0, retain=True>
Jan 22 18:04:04 pi hass[744]: 2018-01-22 18:04:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1972866000-42>
Jan 22 18:04:05 pi hass[744]: 2018-01-22 18:04:05 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.balcony to 192.168.10.6 (auth: True)
Jan 22 18:04:05 pi hass[744]: 2018-01-22 18:04:05 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.cellar to 192.168.10.6 (auth: True)
Jan 22 18:04:12 pi hass[744]: 2018-01-22 18:04:12 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.10.211 (auth: True)
Jan 22 18:04:15 pi hass[744]: 2018-01-22 18:04:15 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.balcony to 192.168.10.6 (auth: True)
Jan 22 18:04:15 pi hass[744]: 2018-01-22 18:04:15 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.cellar to 192.168.10.6 (auth: True) -
RE: Flashed mysensors dev branch to my sensors - not showing up in home assistant
If possible I would avoid to rip all apart and refash...
-
Flashed mysensors dev branch to my sensors - not showing up in home assistant
Hi,
I wounding how I can do static configuration in home assistant?
-
RE: Raspberry Pi stability problem
Many thanks - yes, will do today. Let you know results.
-
RE: Raspberry Pi stability problem
Just to let you know - I have uploaded the ESP8266 sketch (from 2.1.1) via Arduino IDE, seems to run stable with the same NRF24L01 module.
But if possible I would like to go back to have all run on the raspi.
Again thanks for all that support here!
-
RE: Raspberry Pi stability problem
Thanks a lot. Looking forward to any update... have a nice weekend, I will try the version for ESP8266 in the meantime, however run it on the pi would be preferred.
Thanks again!