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
T

traceyp

@traceyp
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • RPi MQTT Gateway problems...
    T traceyp

    @mfalkvidd Thanks for the info and the reply. I'm going to start again from scratch and recheck every detail. ill respond again with resolution on completion.
    Thanks again.

    Troubleshooting

  • RPi MQTT Gateway problems...
    T traceyp

    Hello All, I may be asking too much, but here goes.
    I have compiled with these parameters:
    ./configure --my-transport=rf24 --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

    Then I ran make. mysgw starts and runs just fine and seems to be transmitting messages. Here's the output:

    pi@blueberrypi:~/MySensors/bin $ sudo ./mysgw
    Feb 09 22:00:12 ERROR Failed to open log pipe.
    Feb 09 22:00:12 INFO Starting gateway...
    Feb 09 22:00:12 INFO Protocol version - 2.3.2
    Feb 09 22:00:12 DEBUG MCO:BGN:INIT GW,CP=RNNGL--X,FQ=NA,REL=255,VER=2.3.2
    Feb 09 22:00:12 DEBUG TSF:LRT:OK
    Feb 09 22:00:12 DEBUG TSM:INIT
    Feb 09 22:00:12 DEBUG TSF:WUR:MS=0
    Feb 09 22:00:12 DEBUG TSM:INIT:TSP OK
    Feb 09 22:00:12 DEBUG TSM:INIT:GW MODE
    Feb 09 22:00:12 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
    Feb 09 22:00:12 DEBUG MCO:REG:NOT NEEDED
    Feb 09 22:00:12 DEBUG MCO:BGN:STP
    Feb 09 22:00:12 DEBUG MCO:BGN:INIT OK,TSP=1
    Feb 09 22:00:12 DEBUG GWT:RMQ:CONNECTING...
    Feb 09 22:00:12 DEBUG connected to 127.0.0.1
    Feb 09 22:00:12 DEBUG GWT:RMQ:OK
    Feb 09 22:00:12 DEBUG GWT:TPS:TOPIC=mygateway1-out/0/255/0/0/18,MSG SENT
    Feb 09 22:00:12 DEBUG TSM:READY:NWD REQ
    Feb 09 22:00:13 DEBUG ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:

    But, It doesn't seem to be hearing my sensors at all. I've double and triple checked build and code. I don't see any problems, but ... nothing.

    I would like to create a local mqtt server that doesn't need a controller, just to receive the rf24 sensor data and publish to mqtt. Cant seem to make it work.
    I've built and rebuilt with different options to no avail.

    I can't see why the gateway is not hearing my sensors. I've tried several schetches...nothing.

    Thanks in advance for any help.

    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