Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
A

alterfritz

@alterfritz
About
Posts
29
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Flashed mysensors dev branch to my sensors - not showing up in home assistant
    A alterfritz

    Thanks. I will do that...

    Troubleshooting

  • Flashed mysensors dev branch to my sensors - not showing up in home assistant
    A alterfritz

    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.

    Troubleshooting

  • Flashed mysensors dev branch to my sensors - not showing up in home assistant
    A alterfritz

    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.

    Troubleshooting

  • Flashed mysensors dev branch to my sensors - not showing up in home assistant
    A alterfritz

    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.0

    However - they do not show up ... home assistant log shows like this...:100:

    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)

    Troubleshooting

  • Flashed mysensors dev branch to my sensors - not showing up in home assistant
    A alterfritz

    If possible I would avoid to rip all apart and refash...

    Troubleshooting

  • Flashed mysensors dev branch to my sensors - not showing up in home assistant
    A alterfritz

    Hi,

    I wounding how I can do static configuration in home assistant?

    Troubleshooting

  • Raspberry Pi stability problem
    A alterfritz

    Seems this does the trick. Thanks!

    Bug Reports

  • Raspberry Pi stability problem
    A alterfritz

    Many thanks - yes, will do today. Let you know results.

    Bug Reports

  • Raspberry Pi stability problem
    A alterfritz

    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!

    Bug Reports

  • Raspberry Pi stability problem
    A alterfritz

    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!

    Bug Reports

  • Raspberry Pi stability problem
    A alterfritz

    until it crashes...

    mysgw: TSF:MSG:BC
    mysgw: TSF:MSG:FPAR REQ,ID=3
    mysgw: TSF:PNG:SEND,TO=0
    mysgw: TSF:CKU:OK
    mysgw: TSF:MSG:GWL OK

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x75cc8450 (LWP 4759)]
    0x0001ac74 in RF24_spiMultiByteTransfer (readMode=true, len=6 '\006', buf=0x1 <error: Cannot access memory at address 0x1>, cmd=97 'a') at ./drivers/RF24/RF24.cpp:87
    87 *buf++ = *prx++;

    Bug Reports

  • Raspberry Pi stability problem
    A alterfritz

    Here is another screenshot - seems that sometimes it works... for some time...

    mysgw: TSF:MSG:READ,1-1-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0
    mysgw: GWT:TPS:TOPIC=mysensors-out/1/255/3/0/6,MSG SENT
    mysgw: TSF:MSG:READ,6-6-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    mysgw: TSF:MSG:PINGED,ID=6,HP=1
    mysgw: TSF:MSG:SEND,0-0-6-6,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
    mysgw: TSF:MSG:READ,6-6-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    mysgw: TSF:MSG:SEND,0-0-6-6,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    mysgw: TSF:MSG:READ,6-6-0,s=255,c=0,t=17,pt=0,l=10,sg=0:2.2.0-beta
    mysgw: GWT:TPS:TOPIC=mysensors-out/6/255/0/0/17,MSG SENT
    mysgw: TSF:MSG:READ,6-6-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0
    mysgw: GWT:TPS:TOPIC=mysensors-out/6/255/3/0/6,MSG SENT
    mysgw: TSF:MSG:READ,5-5-0,s=255,c=0,t=17,pt=0,l=10,sg=0:2.2.0-beta
    mysgw: GWT:TPS:TOPIC=mysensors-out/5/255/0/0/17,MSG SENT
    mysgw: TSF:MSG:READ,5-5-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0
    mysgw: GWT:TPS:TOPIC=mysensors-out/5/255/3/0/6,MSG SENT
    mysgw: TSF:MSG:READ,1-1-0,s=255,c=3,t=11,pt=0,l=10,sg=0:WallLight1
    mysgw: GWT:TPS:TOPIC=mysensors-out/1/255/3/0/11,MSG SENT
    mysgw: TSF:MSG:READ,1-1-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
    mysgw: GWT:TPS:TOPIC=mysensors-out/1/255/3/0/12,MSG SENT
    mysgw: TSF:MSG:READ,1-1-0,s=1,c=0,t=4,pt=0,l=0,sg=0:
    mysgw: GWT:TPS:TOPIC=mysensors-out/1/1/0/0/4,MSG SENT
    mysgw: TSF:MSG:READ,1-1-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2
    mysgw: TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1
    mysgw: TSF:MSG:READ,1-1-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
    mysgw: GWT:TPS:TOPIC=mysensors-out/1/1/1/0/3,MSG SENT
    mysgw: TSF:MSG:READ,3-3-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    mysgw: TSF:MSG:BC
    mysgw: TSF:MSG:FPAR REQ,ID=3
    mysgw: TSF:CKU:OK,FCTRL
    mysgw: TSF:MSG:GWL OK
    mysgw: TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    mysgw: TSF:MSG:READ,4-4-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    mysgw: TSF:MSG:BC
    mysgw: TSF:MSG:FPAR REQ,ID=4
    mysgw: TSF:CKU:OK,FCTRL
    mysgw: TSF:MSG:GWL OK
    mysgw: TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    mysgw: TSF:MSG:READ,6-6-0,s=255,c=3,t=11,pt=0,l=10,sg=0:WallLight6
    mysgw: GWT:TPS:TOPIC=mysensors-out/6/255/3/0/11,MSG SENT
    mysgw: TSF:MSG:READ,6-6-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
    mysgw: GWT:TPS:TOPIC=mysensors-out/6/255/3/0/12,MSG SENT
    mysgw: TSF:MSG:READ,6-6-0,s=1,c=0,t=4,pt=0,l=0,sg=0:
    mysgw: GWT:TPS:TOPIC=mysensors-out/6/1/0/0/4,MSG SENT
    mysgw: TSF:MSG:READ,6-6-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2
    mysgw: !TSF:MSG:SEND,0-0-6-6,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=NACK:1
    mysgw: TSF:MSG:READ,5-5-0,s=255,c=3,t=11,pt=0,l=10,sg=0:WallLight5
    mysgw: GWT:TPS:TOPIC=mysensors-out/5/255/3/0/11,MSG SENT
    mysgw: TSF:MSG:READ,5-5-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
    mysgw: GWT:TPS:TOPIC=mysensors-out/5/255/3/0/12,MSG SENT
    mysgw: TSF:MSG:READ,5-5-0,s=1,c=0,t=4,pt=0,l=0,sg=0:
    mysgw: GWT:TPS:TOPIC=mysensors-out/5/1/0/0/4,MSG SENT
    mysgw: TSF:MSG:READ,5-5-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2
    mysgw: TSF:MSG:SEND,0-0-5-5,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1
    mysgw: TSF:MSG:READ,5-5-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
    mysgw: GWT:TPS:TOPIC=mysensors-out/5/1/1/0/3,MSG SENT
    mysgw: TSF:MSG:READ,3-3-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    mysgw: TSF:MSG:PINGED,ID=3,HP=1
    mysgw: TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
    mysgw: TSF:MSG:READ,3-3-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    mysgw: TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    mysgw: TSF:MSG:READ,3-3-0,s=255,c=0,t=17,pt=0,l=10,sg=0:2.2.0-beta
    mysgw: GWT:TPS:TOPIC=mysensors-out/3/255/0/0/17,MSG SENT
    mysgw: TSF:MSG:READ,3-3-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0
    mysgw: GWT:TPS:TOPIC=mysensors-out/3/255/3/0/6,MSG SENT
    mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    mysgw: TSF:MSG:PINGED,ID=4,HP=1
    mysgw: TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
    mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    mysgw: TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    mysgw: TSF:MSG:READ,3-3-0,s=255,c=3,t=11,pt=0,l=10,sg=0:WallLight3
    mysgw: GWT:TPS:TOPIC=mysensors-out/3/255/3/0/11,MSG SENT
    mysgw: TSF:MSG:READ,3-3-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
    mysgw: GWT:TPS:TOPIC=mysensors-out/3/255/3/0/12,MSG SENT
    mysgw: TSF:MSG:READ,3-3-0,s=1,c=0,t=4,pt=0,l=0,sg=0:
    mysgw: GWT:TPS:TOPIC=mysensors-out/3/1/0/0/4,MSG SENT
    mysgw: TSF:MSG:READ,3-3-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2
    mysgw: TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1
    mysgw: TSF:MSG:READ,4-4-0,s=255,c=0,t=17,pt=0,l=10,sg=0:2.2.0-beta
    mysgw: GWT:TPS:TOPIC=mysensors-out/4/255/0/0/17,MSG SENT
    mysgw: TSF:MSG:READ,3-3-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
    mysgw: GWT:TPS:TOPIC=mysensors-out/3/1/1/0/3,MSG SENT
    mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0
    mysgw: GWT:TPS:TOPIC=mysensors-out/4/255/3/0/6,MSG SENT
    mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=11,pt=0,l=10,sg=0:WallLight4
    mysgw: GWT:TPS:TOPIC=mysensors-out/4/255/3/0/11,MSG SENT
    mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
    mysgw: GWT:TPS:TOPIC=mysensors-out/4/255/3/0/12,MSG SENT
    mysgw: TSF:MSG:READ,4-4-0,s=1,c=0,t=4,pt=0,l=0,sg=0:
    mysgw: GWT:TPS:TOPIC=mysensors-out/4/1/0/0/4,MSG SENT
    mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2
    mysgw: TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1
    mysgw: TSF:MSG:READ,4-4-0,s=1,c=1,t=3,pt=2,l=2,sg=0:100
    mysgw: GWT:TPS:TOPIC=mysensors-out/4/1/1/0/3,MSG SENT

    Bug Reports

  • Raspberry Pi stability problem
    A alterfritz

    pi@pi:~ $ sudo gdb /home/pi/mysensors_dev/MySensors/bin/mysgw
    GNU gdb (Raspbian 7.7.1+dfsg-5+rpi1) 7.7.1
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "arm-linux-gnueabihf".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    http://www.gnu.org/software/gdb/bugs/.
    Find the GDB manual and other documentation resources online at:
    http://www.gnu.org/software/gdb/documentation/.
    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from /home/pi/mysensors_dev/MySensors/bin/mysgw...done.
    (gdb) run -d
    Starting program: /home/pi/mysensors_dev/MySensors/bin/mysgw -d
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
    mysgw: Starting gateway...
    mysgw: Protocol version - 2.2.0-rc.2
    mysgw: MCO:BGN:INIT GW,CP=RNNGL-Q-,VER=2.2.0-rc.2
    mysgw: TSF:LRT:OK
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    [New Thread 0x75cc8450 (LWP 4703)]
    mysgw: TSM:INIT:TSP OK
    mysgw: TSM:INIT:GW MODE
    mysgw: TSM:READY:ID=0,PAR=0,DIS=0
    mysgw: MCO:REG:NOT NEEDED
    mysgw: MCO:BGN:STP
    mysgw: MCO:BGN:INIT OK,TSP=1
    mysgw: GWT:RMQ:MQTT RECONNECT
    mysgw: connected to 127.0.0.1
    mysgw: GWT:RMQ:MQTT CONNECTED
    mysgw: GWT:TPS:TOPIC=mysensors-out/0/255/0/0/18,MSG SENT
    mysgw: TSF:MSG:READ,3-3-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    mysgw: TSF:MSG:BC
    mysgw: TSF:MSG:FPAR REQ,ID=3
    mysgw: TSF:PNG:SEND,TO=0
    mysgw: TSF:CKU:OK
    mysgw: TSF:MSG:GWL OK

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x75cc8450 (LWP 4703)]
    0x0001ac74 in RF24_spiMultiByteTransfer (readMode=true, len=6 '\006', buf=0x1 <error: Cannot access memory at address 0x1>, cmd=97 'a') at ./drivers/RF24/RF24.cpp:87
    87 *buf++ = *prx++;
    (gdb)

    Bug Reports

  • Raspberry Pi stability problem
    A alterfritz

    Ok - thanks will do that...

    Bug Reports

  • Raspberry Pi stability problem
    A alterfritz

    The gateway basically stops with a segmentation fault after working ok for a few minutes... let me try it...give me a minute...

    Bug Reports

  • Raspberry Pi stability problem
    A alterfritz

    I will try out the version for the ESP8266 (GatewayESP8266MQTTClient.ino), however this seems really strange to me. Any hint?

    Bug Reports

  • Raspberry Pi stability problem
    A alterfritz

    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/Linux

    Have 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

    Bug Reports

  • Can't connect to radio on raspPi with latest stable 2.1.1 build, but works with 2.2.beta but with beta mqtt gateway very unstable...
    A alterfritz

    @alterfritz any update? Release 2.1.1 does not work for. Current dev branch 2.2 works.

    Any hint?

    Troubleshooting

  • Can't connect to radio on raspPi with latest stable 2.1.1 build, but works with 2.2.beta but with beta mqtt gateway very unstable...
    A alterfritz

    Hi, just wondering if I simple do something wrong.

    I try to setup a mysensors gateway on raspPi. What I did:

    git clone https://github.com/mysensors/MySensors.git --branch master

    ./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 --my-rf24-irq-pin=15

    Build seems ok, but when I tried to start the gw, it seems radio can not be initialized. I got

    i@pi:~/msg_stable/MySensors $ sudo bin/mysgw -d
    mysgw: Starting gateway...
    mysgw: Protocol version - 2.1.1
    mysgw: MCO:BGN:INIT GW,CP=RNNG--Q,VER=2.1.1
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: !TSM:INIT:TSP FAIL
    mysgw: TSM:FAIL:CNT=1
    mysgw: TSM:FAIL:PDT

    When I use same kind of install with the development branch 2.2.beta it all starts up, however the gateway seems very unstable (not surprisingly, as its dev build), it cashes a lot.

    So - how to get the stable 2.1.1 connecting to the radio (NRF24L01+ )? I guess the gateway on 2.1.1 is stable...

    Regards
    Joerg

    Troubleshooting

  • Startup time of arduino pro mini with mysensors 2.2 - took 10 sec (guess its the radio), can I execute some code immediately (<1sec)?
    A alterfritz

    @rejoe2 Right... :-) I may look into this. For now I will try to get a stable version and load it without bootloader directly via usbasp...

    Troubleshooting
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular