Adding a sensor to the configuration file
-
with serial gateway you need to have the arduino connected to raspberry via USB port, the NRF24 module is wired on the arduino.
There is also the raspberry gateway option where you can compile a gateway program running on raspberry that will use the NRF24 directly on the GPIO. As raspberry gateway you can compile it with the 3 options serial/ethernet/mqtt just as the arduino counterpart. -
with serial gateway you need to have the arduino connected to raspberry via USB port, the NRF24 module is wired on the arduino.
There is also the raspberry gateway option where you can compile a gateway program running on raspberry that will use the NRF24 directly on the GPIO. As raspberry gateway you can compile it with the 3 options serial/ethernet/mqtt just as the arduino counterpart.@gohan I connected the arduino to raspberry via USB port and wired the NRF24 module on the arduino, also uploaded the 'serial gateway' sketch from mysensors api v2.2 to the arduino . The problem is that I got an error in the configuration.yaml file (using home assistant) although I followed exactly instructions on : link text

and I confirmed the USB connection (RPI3 - arduino) by writing in the terminal :

The error I get is :

and the log file (via configurator adds on) :

Can you please point me out on the problem and how to fix it ?
-
@gohan In order to use the Ethernet gateway I need a Ethernet module and I I'll have to wait for a very long time :/ What type of home automation controller are you using instead of the 'Home assistant' ?
@martinhjelmare ? have a clue ? familiar with Home assistant first serial gateway configuration and can help me ?
-
@gohan In order to use the Ethernet gateway I need a Ethernet module and I I'll have to wait for a very long time :/ What type of home automation controller are you using instead of the 'Home assistant' ?
@martinhjelmare ? have a clue ? familiar with Home assistant first serial gateway configuration and can help me ?
-
@gohan OK, after wiring the nrf24 directly to the Raspberry pi GPIO, what should I need to write in the configuration.yaml file to identify it ? No doubts that this type of wiring is also a serial gateway but I have no clue what to write in the configuration file ...
-
-
@gohan In order to use the Ethernet gateway I need a Ethernet module and I I'll have to wait for a very long time :/ What type of home automation controller are you using instead of the 'Home assistant' ?
@martinhjelmare ? have a clue ? familiar with Home assistant first serial gateway configuration and can help me ?
-
What are you using instead of hass.io ? maybe I'll consider using it too if it's working.
Regarding my problem , I've got this message :
"Invalid config for [mysensors]: not a valid value for dictionary value @ data['mysensors']['gateways'][0]['device']. Got /'dev/ttyUSB0'.I connected to the terminal through SSH are port 22 and typed : ls /dev , saw the tty folder but it was empty (expected USB0 to appear there). But when I typed dmesg | grep tty I see : "ch341-uart converter now attached to ttyUSB0". Really confused ! Though maybe I need to enable the USB0 port but didn't find any clue how to do it. In what forum can I ask for help for this kind of problem ?
-
What are you using instead of hass.io ? maybe I'll consider using it too if it's working.
Regarding my problem , I've got this message :
"Invalid config for [mysensors]: not a valid value for dictionary value @ data['mysensors']['gateways'][0]['device']. Got /'dev/ttyUSB0'.I connected to the terminal through SSH are port 22 and typed : ls /dev , saw the tty folder but it was empty (expected USB0 to appear there). But when I typed dmesg | grep tty I see : "ch341-uart converter now attached to ttyUSB0". Really confused ! Though maybe I need to enable the USB0 port but didn't find any clue how to do it. In what forum can I ask for help for this kind of problem ?