You should only include the relevant header file in the file Gestion_Porte.hpp, not Mysensors.h
For example
#include <core/MyTransport.h>
You should only include the relevant header file in the file Gestion_Porte.hpp, not Mysensors.h
For example
#include <core/MyTransport.h>
There are two drivers on the RFM69 which aren't compatible. Check if you are using the same one on nodes and gateway.
MY_RFM69_NEW_DRIVER
Also the radio settings have to match.
https://www.mysensors.org/apidocs/group__RFM69SettingGrpPub.html
You need to send the initial state of the sensor
https://www.home-assistant.io/integrations/mysensors/
@dbemowsk You can also use google and add mysensors before the search phrase
If the message is retained, it will show up already when you connect MQTT explorer to the broker, without HA sending a message yet
Could it be the MQTT message is retained? You can use a tool like MQTT explorer to see this
With some logic in home assistant like in an automation or node red, this is possible. Use a helper function to set the state, and request that status from the node
If you are building a presence sensor, take a look at the LD2410.
Also check the review from Andreas Spiess:
https://m.youtube.com/watch?v=dAzHXpP3FcI&vl=en
600000ms is 10 minutes 😉
Perhaps messages gets lost in the other room?
Mysensors is a protocol on its own, so it will not decode your doorbell signal.
An Arduino nano can't be reached over SSH no, the Arduino has a usb connection which gives out serial data to the raspberry
Have you tried a different pc? What about your power supply? It could be the standard nano regulator isn't powerful enough.
@Branther said in Battery voltage sensor is no longer recognized by Homeassistant:
3802 !TSF:MSG:SEND,122-122-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=1,st=NACK:15.6
3811 !TSF:MSG:SEND,122-122-0-0,s=2,c=1,t=38,pt=7,l=5,sg=0,ft=2,st=NACK:5.7
st=NACK means the message isn't acknowledged by the gateway. So could it be the message isn't received by home assistant?
I mean the ESP framework version, selected by the board version
https://arduino.esp8266.com/Arduino/versions/2.0.0/doc/installing.html#:~:text=Open Boards Manager from Tools,from a drop-down box.
You should try downgrading the ESP version below 3.0
Have your tried googling on ESP32 LoRa?
There are ready made boards that have these, and can run mysensors also. For example the ones from Heltec.
Does this answer your question?
Yes, comment
#define MY_DEBUG
and in setup() add
Serial.begin(115200);
I would recommend to switch to a nrf24l01 or rfm69/95, where you will have bidirectional communication and you can use the mysensors framework
The target is set in the platformio.ini file
upload_port = COM6
I'm not sure about the define your talking about, maybe that isn't needed and the pins are defined in the boards directory. What happens if you define this MYBOARDNRF5?
I've placed the test code here: https://github.com/rikki78/NRF5_test
I hope this helps you!
Have you connected the interrupt pin on the node?
And perhaps tried without the new driver? I don't know how that works with a RPI, does it have an old driver also?