@Westie That feature can also be used with the Arduino Nano, or any other ATmega328P-based board.
I had NRF24 + RFM69 running for a couple of days using a Nano as an Ethernet MQTT gateway and it worked fine as far as I remember.
@TheoL Thanks for responding and sorry for my late reply.
I finally got an Arduino Nano working as a gateway with RFM69.
It required new/different logic converters as the ones I had apparently were not working correctly.
I can give the RFM69 3.3V power from the Nano, but as the Nano has 5V logic and the RFM69 cannot handle 5V logic as input (NSS, SCK, MOSI) , the logic converters are needed to protect the RFM69 module as also stated in the MySensors radio guide.
I must say that using NRF24 was much easier than using RFM69, but I will stick with RFM69 (433 MHz) for range reasons.
@micah said:
@sundberg84 said:
Hard to say. St:fail generally means that you don't get ack from the receiver. This is normally range, power or hardware. There is not a general fix for this but you need to try and learn... i admit its strange I worked for some days. Maybe a radio fried ?
Don't have the radios to close to eachother. Try a.couple of meters.
Sorry I'm out of more solid ideas.
Hey sundberg84, quick question for you.
If you look at my debug logs above it looks like the gateway is infact receiving the message but the node thinks it fails. Con you confirm my interpretation of the following two lines?
NODE DEBUG
send: 42-42-0-0 s=1,c=1,t=0,pt=7,l=5,sg=0,st=fail:20.0
GATEWAY DEBUG
0;255;3;0;9;read: 42-42-0 s=1,c=1,t=0,pt=7,l=5,sg=0:20.0
If that's correct, could that change what the issue might be?
Yes, I saw that - it seems to work one way but the ack (return) does not reach back. So its on the edge.
But this should update the value in your controller.
@A3V such a feature would definitely make sense now that gateways can have local sensors. But no-one has added it unfortunately.
A solution could be to use the code at https://github.com/mysensors/MySensors/blob/2e00bf6a10f76d6aaa1999e12313237bc3edabd3/core/MyTransport.cpp#L446 as inspiration and do something similar at https://github.com/mysensors/MySensors/blob/2e00bf6a10f76d6aaa1999e12313237bc3edabd3/core/MyGatewayTransportEthernet.cpp#L175
@canossa Sorry for the late response.
yeah, since is so compact and you can get it for relatively cheap I opted in for the NRF52.
For home automation, I merged MySensors with Domoticz and it works for months now.
https://forum.mysensors.org/topic/7836/what-did-you-build-today-pictures/738