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
  1. Home
  2. Troubleshooting
  3. RPi 3 with Domoticz and RF-link (RFXcom) 'TSP-fail'

RPi 3 with Domoticz and RF-link (RFXcom) 'TSP-fail'

Scheduled Pinned Locked Moved Troubleshooting
rpi gatewaydomoticzrfxcomrf433
8 Posts 4 Posters 112 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ESFnl
    wrote on last edited by
    #1

    After playing some time with sensors and Arduinos I read about MySensors I wanted to expand my home automation system with it.

    Situation:
    Raspberry pi 3 with Domoticz with RF antenna and Z-wave running for about 3 years.

    Wish:
    Connect sensors in the bee hives in my garden to a new topic in the MQTT database of Domoticz. I have a long range RFXcom antenna working on 433 mhz. MySensors is supported

    Attempt:

    ./configure --my-gateway=mqtt --my-controller-ip-address=192.168.0.176 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --my-port=/dev/ttyUSB0 --my-rfm69-frequency=433
    
    

    Error:

    Dec 28 23:55:49 INFO  Starting gateway...
    Dec 28 23:55:49 INFO  Protocol version - 2.3.2
    Dec 28 23:55:50 DEBUG Serial port /dev/ttyUSB20 (115200 baud) creat
    ed
    Dec 28 23:55:50 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=255,VER
    =2.3.2
    Dec 28 23:55:50 DEBUG TSF:LRT:OK
    Dec 28 23:55:50 DEBUG TSM:INIT
    Dec 28 23:55:50 DEBUG TSF:WUR:MS=0
    Dec 28 23:55:50 DEBUG !TSM:INIT:TSP FAIL
    Dec 28 23:55:50 DEBUG TSM:FAIL:CNT=1
    Dec 28 23:55:50 DEBUG TSM:FAIL:DIS
    Dec 28 23:55:50 DEBUG TSF:TDI:TSL
    Dec 28 23:56:00 DEBUG TSM:FAIL:RE-INIT
    Dec 28 23:56:00 DEBUG TSM:INIT
    Dec 28 23:56:00 DEBUG !TSM:INIT:TSP FAIL
    Dec 28 23:56:00 DEBUG TSM:FAIL:CNT=2
    Dec 28 23:56:00 DEBUG TSM:FAIL:DIS
    Dec 28 23:56:00 DEBUG TSF:TDI:TSL
    
    

    Who can help me here please?

    YveauxY Nca78N 2 Replies Last reply
    0
    • E ESFnl

      After playing some time with sensors and Arduinos I read about MySensors I wanted to expand my home automation system with it.

      Situation:
      Raspberry pi 3 with Domoticz with RF antenna and Z-wave running for about 3 years.

      Wish:
      Connect sensors in the bee hives in my garden to a new topic in the MQTT database of Domoticz. I have a long range RFXcom antenna working on 433 mhz. MySensors is supported

      Attempt:

      ./configure --my-gateway=mqtt --my-controller-ip-address=192.168.0.176 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --my-port=/dev/ttyUSB0 --my-rfm69-frequency=433
      
      

      Error:

      Dec 28 23:55:49 INFO  Starting gateway...
      Dec 28 23:55:49 INFO  Protocol version - 2.3.2
      Dec 28 23:55:50 DEBUG Serial port /dev/ttyUSB20 (115200 baud) creat
      ed
      Dec 28 23:55:50 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=255,VER
      =2.3.2
      Dec 28 23:55:50 DEBUG TSF:LRT:OK
      Dec 28 23:55:50 DEBUG TSM:INIT
      Dec 28 23:55:50 DEBUG TSF:WUR:MS=0
      Dec 28 23:55:50 DEBUG !TSM:INIT:TSP FAIL
      Dec 28 23:55:50 DEBUG TSM:FAIL:CNT=1
      Dec 28 23:55:50 DEBUG TSM:FAIL:DIS
      Dec 28 23:55:50 DEBUG TSF:TDI:TSL
      Dec 28 23:56:00 DEBUG TSM:FAIL:RE-INIT
      Dec 28 23:56:00 DEBUG TSM:INIT
      Dec 28 23:56:00 DEBUG !TSM:INIT:TSP FAIL
      Dec 28 23:56:00 DEBUG TSM:FAIL:CNT=2
      Dec 28 23:56:00 DEBUG TSM:FAIL:DIS
      Dec 28 23:56:00 DEBUG TSF:TDI:TSL
      
      

      Who can help me here please?

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by Yveaux
      #2

      @esfnl mySensors support for rfxcom is unofficial and receive only, so I wouldn't try to use it to setup a MySensors network.

      The !TSM:INIT:TSP FAIL message indicates a communication error to the radio module. Triple check wiring and pin configuration.

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • E Offline
        E Offline
        ESFnl
        wrote on last edited by
        #3

        Thank you for your suggestions.

        I don't have any wires nor pin connections as the RF-link is an USB module (RFXcom.

        I understand having a controller and gateway separately is recommended. But I'd like to use the long-range antenna currently operational. Am I correct I can configure the MySensors in the same frequency of 433 MHz?

        Could my error lie within the ./configure command?

        YveauxY 1 Reply Last reply
        0
        • E ESFnl

          Thank you for your suggestions.

          I don't have any wires nor pin connections as the RF-link is an USB module (RFXcom.

          I understand having a controller and gateway separately is recommended. But I'd like to use the long-range antenna currently operational. Am I correct I can configure the MySensors in the same frequency of 433 MHz?

          Could my error lie within the ./configure command?

          YveauxY Offline
          YveauxY Offline
          Yveaux
          Mod
          wrote on last edited by
          #4

          @esfnl I think you're mixing things up. Are you trying to use the RFXcom connected to a serial port as a mysensors gateway?

          http://yveaux.blogspot.nl

          E 1 Reply Last reply
          0
          • YveauxY Yveaux

            @esfnl I think you're mixing things up. Are you trying to use the RFXcom connected to a serial port as a mysensors gateway?

            E Offline
            E Offline
            ESFnl
            wrote on last edited by ESFnl
            #5

            @yveaux Yes, actually that was the plan having Domoticz and MySensors integrated. But what is my beginner mistake?

            I have installed the Raspberry version of MySensors on the same Pi as Domoticz is running. In this Pi the RF-link antenna is plugged in the USB port, see this picture of my fuse box.

            Actually I'm not primary interested of controlling MySensors, my main goal is using Domoticz for collecting sensor data and sending messages. So just 'sniffing' the RF signals.

            Edit: RFlink

            K 1 Reply Last reply
            0
            • E ESFnl

              @yveaux Yes, actually that was the plan having Domoticz and MySensors integrated. But what is my beginner mistake?

              I have installed the Raspberry version of MySensors on the same Pi as Domoticz is running. In this Pi the RF-link antenna is plugged in the USB port, see this picture of my fuse box.

              Actually I'm not primary interested of controlling MySensors, my main goal is using Domoticz for collecting sensor data and sending messages. So just 'sniffing' the RF signals.

              Edit: RFlink

              K Offline
              K Offline
              kimot
              wrote on last edited by kimot
              #6

              @esfnl
              You are completely wrong and mix different things together.
              Firstly - you wrote RFXcom (with long range antena ) and then mention link to RFLink.
              Both devices have got separete device in Domoticz:
              0_1577652923032_2019-12-29-215407_1920x1080_scrot.png

              Secondly - RFLink and RFXCom are for intergration most commercial sensors and transducers to 433MHz.
              You do not need install MySensors gateway on RPI for use them.
              Simply connect them and select in Domoticz devices with appropriate interface.
              Then you will see all sensors in your surroundings.
              Mostly your neighbors meteostantions, heatpumps etc.
              Here is my RFLink sensors list after couple of hours - none from me, all neighbors.
              And I live on village ....
              No block of flats.
              ( It is twice as long as you see )
              0_1577653534106_2019-01-29-214601_1920x1080_scrot.png

              I do not know RFXCom, but RFLink can receive data from MySensors nodes.
              According your link, I do not test it.
              ONLY receive - so no AUTO ID for nodes, no answer for presentation etc.
              If you want use MySensors, I suggest build separate USB gateway and connect it to Domoticz and select
              "MySensors Gateway USB" in device list.
              That all.
              No "./configure" and all this.

              1 Reply Last reply
              0
              • E Offline
                E Offline
                ESFnl
                wrote on last edited by
                #7

                Thank you all for your advice.

                Sorry for mixing up RF terms. On my hardware and in Domoticz it is called RFXCOM - RFXtrx433 USB 433.92MHz Transceiver.

                For me as a beginner it's hard to understand you recommend an extra micro controller and an extra long range antenna instead of fixing it by software. But if that is the case, I have to deal with that 😕.

                Thanks again!

                1 Reply Last reply
                0
                • E ESFnl

                  After playing some time with sensors and Arduinos I read about MySensors I wanted to expand my home automation system with it.

                  Situation:
                  Raspberry pi 3 with Domoticz with RF antenna and Z-wave running for about 3 years.

                  Wish:
                  Connect sensors in the bee hives in my garden to a new topic in the MQTT database of Domoticz. I have a long range RFXcom antenna working on 433 mhz. MySensors is supported

                  Attempt:

                  ./configure --my-gateway=mqtt --my-controller-ip-address=192.168.0.176 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --my-port=/dev/ttyUSB0 --my-rfm69-frequency=433
                  
                  

                  Error:

                  Dec 28 23:55:49 INFO  Starting gateway...
                  Dec 28 23:55:49 INFO  Protocol version - 2.3.2
                  Dec 28 23:55:50 DEBUG Serial port /dev/ttyUSB20 (115200 baud) creat
                  ed
                  Dec 28 23:55:50 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=255,VER
                  =2.3.2
                  Dec 28 23:55:50 DEBUG TSF:LRT:OK
                  Dec 28 23:55:50 DEBUG TSM:INIT
                  Dec 28 23:55:50 DEBUG TSF:WUR:MS=0
                  Dec 28 23:55:50 DEBUG !TSM:INIT:TSP FAIL
                  Dec 28 23:55:50 DEBUG TSM:FAIL:CNT=1
                  Dec 28 23:55:50 DEBUG TSM:FAIL:DIS
                  Dec 28 23:55:50 DEBUG TSF:TDI:TSL
                  Dec 28 23:56:00 DEBUG TSM:FAIL:RE-INIT
                  Dec 28 23:56:00 DEBUG TSM:INIT
                  Dec 28 23:56:00 DEBUG !TSM:INIT:TSP FAIL
                  Dec 28 23:56:00 DEBUG TSM:FAIL:CNT=2
                  Dec 28 23:56:00 DEBUG TSM:FAIL:DIS
                  Dec 28 23:56:00 DEBUG TSF:TDI:TSL
                  
                  

                  Who can help me here please?

                  Nca78N Offline
                  Nca78N Offline
                  Nca78
                  Hardware Contributor
                  wrote on last edited by
                  #8

                  @esfnl said in RPi 3 with Domoticz and RF-link (RFXcom) 'TSP-fail':

                  MySensors is supported

                  MySensors is supported if you connect an NRF24 to the RFXCom as instructed in the link, did you ?
                  As explained, it can only receive information, so as you seem to have no gateway to assign node ID you will need to define your nodes as passive nodes and hard code node id :

                  #define MY_PASSIVE_NODE
                  #define MY_NODE_ID 2
                  #define MY_PARENT_NODE_IS_STATIC
                  #define MY_PARENT_NODE_ID 0
                  
                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  16

                  Online

                  11.7k

                  Users

                  11.2k

                  Topics

                  113.0k

                  Posts


                  Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                  • Login

                  • Don't have an account? Register

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