mysensors on rpi with NRF2401 with Domoticz



  • hello all,
    the best thing on my Domoticz was MySensors.
    But is was because Domoticz crashed during the latest update.
    I had ti re-buid it but i can get MySensors back to work.

    The NRF pcb is directly connected to the MOSI and MISO of the RPI connector.
    But i have only three posible choices in hardware on Domoticz.
    MySensors Gateway with MQTT, with LAN interface or USB.

    What do i have to do to get it working again.

    i have 10 MySensors units and 15 esp via MQTT units and since MySensors are the most reliable so don't want to change it to ESP-MQTT

    Thanks


  • Mod

    Hello @goblin, welcome to the forum.

    You probably had installed the raspberry pi gateway, which supports serial (usb), ethernet (LAN) and mqtt.

    Instructions: https://www.mysensors.org/build/raspberry

    Easiest is probably ethernet.



  • that's correct. but i seems to have a problem with the correct Domoticz settings.
    I need to select one out of three and i get a message "Error: rf: Failed to start, return code: 14/Connection refused (Check IP/Port" when select mqtt
    and when select LAN the message "Error: rf: Can not connect to: 127.0.0.1:5003".
    so it's obvious that i have did something wrong.

    Thanks



  • good evening,
    I have tried ./configure --my-gateway=ethernet --my-controller-ip-address=127.0.0.1
    But still the same error

    Thanks



  • good night 🙂
    i have tried "Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x) " and get an error that is not mentioned (MySensor.cpp:644:5: error: ‘gettimeofday’ was not declared in this scope).
    and this after sudo: /usr/local/sbin/PiGatewaySerial: command not found

    i will have a good sleep and continue tomorrow


Log in to reply
 

Suggested Topics

21
Online

11.6k
Users

11.2k
Topics

113.0k
Posts