@Carywin OK, my gatewayMQTTclient with RFM69 via SoftSPI is working now. There was a problem in RFM69_new.cpp file with SPI_HAS_TRANSACTION variable which is defined in hard SPI.h but not in SoftSPI.
Now I test my gateway and I hope it will work without losing connection. Thank you once more for help.
gieemek
@gieemek
Best posts made by gieemek
-
RE: MQTT - RFM69 Gateway stops communicating randomly and doesn't recover
-
RE: Possible to have an external power source for moisture sensors??
I have MySensors node with 5 moisture sensors - work without problems for one year.
Node platform:- Arduino Pro Mini 5 V
- RFM69HCW powered by 3,3V voltage regulator + resistors on communication lines
- 5x FDRobot moisture sensors
- 3x DS18B20 temperature sensors
powered by 5V, 1A power supply
-
RE: No softspi support for RFM69
I modified MyConfig.h file and RFM69 driver to allow you build gateway (ethernet or MQTT) with W5100 ethernet and RFM69 radio modules using SoftSPI bus. You can find it at: https://github.com/gieemek/RFM69_softSPI-for-MySensors-2.1.1
Latest posts made by gieemek
-
RE: OH3 - MySensors Binding
Hi,
I don't use MySensors binding so I have not tested it in OH3. But I know, that there are not binding special for OH3. All binding 2x should work with OH3. Difference is with binding 1x - these are not working with OH3. -
RE: Best radio type for 5 floor communication
From my experience (I have more then 10 nodes with RFM69 HCW 433Hz - I've choosen it according better penetration by walls and slabs). All nodes working with standard wire antenna.
- My nodes inside the internal garden (distance about 15 m to the gateway with one glazed wall (aluminium structure)). They work with maximum power of signal and my RSSI is about -95 dB (poor). Sometime I lost the signal which is very frustrating.
- Node at upper level than the gateway (distance about 4 m, reinforced concrete slab between). RSSI is about -86 dB and signal is stable (signal breaks are rare).
What I can say after three years using RFM69:
- distance inside the building is short (to about 15 m, stable signal to 10 m or less)
- sometime signal is lost and it depend from different reasons (ie. weather - yes, inside the building too)
- nodes or gateway should be at hight min. 1 m above the slab (heigher is better)
- nodes should be away from other transmitter (ie. wifi router)
- I have experimented with different kind of antennas but without big success (but still wire antennas, not with directional ones)
I have built few nodes with NRF24L01 but I couldn't use them at all - very short range in my house. That's why I've choosen RFM69 (a little bit better).
I'm not happy with RF modules and now I try to jump to RS485 system by wire (I have alarm system I don't use and I try to adopt it). So I'm glad that MySensors have RS485 gateway now. I have built 4 simple nodes with RS485 modules and they work for couple of months without problems. And they work with star typology up to 17 m. Thank you MySensors !
-
RE: Possible to have an external power source for moisture sensors??
I have MySensors node with 5 moisture sensors - work without problems for one year.
Node platform:- Arduino Pro Mini 5 V
- RFM69HCW powered by 3,3V voltage regulator + resistors on communication lines
- 5x FDRobot moisture sensors
- 3x DS18B20 temperature sensors
powered by 5V, 1A power supply
-
RE: RFM69HW - Wow, I didn't expect this range
I use RFM69HW 433 MHz with a wire antenna (straight or spiral). When I start to test my devices, I had a range of about 100 - 150 m (transmitter in my house, receiver outside), so it was very good result for me.
Unfortunately, after building the nodes, now I have the stable range less than 10 m inside my house(I use maximum MY_RFM69_MAX_POWER_LEVEL_DBM (20)). Sometimes it is better, sometimes worse, it depends on various conditions.
Congratulations on such good results of your gateway, but I'm afraid that stable transmition will be much smaller. -
RE: RFM69 RSSI value report
I do not know Domotich - I am working with openHAB through MQTT protocol, which simply reads the sent value of variable and does not wonder what type they are. Yes, I use S_CUSTOM variable to send RSSI value.
But it really doesn't matter what kind of variable you use. The variable type tells to MySensors that its value is for example: light level, temperature, or voltage, but you can send a temperature value using the S_POWER variable - no problem with that.
RSSI should be expressed as an integer, so what is realy important that you choose the variable type declared as integer value, such as i.e. S_LIGHT_LEVEL.
Once you have that value in the controller (openHAB), you can do whatever you want with it.
So it is in openHAB, and I hope in Domoticz the same. -
RE: RFM69 RSSI value report
In the 2.2 version of MySensors (development branch) the new driver for RFM69 is built. It has new command for reading RSSI value: RFM69_getSendingRSSI() and RFM69_getReceivingRSSI(), so now is very easy to get RSSI value.
You can get some more information from ATC Signal Report which are useful - look at RFM69_RFM95_ATC_SignalReport example. -
RE: MQTT - RFM69 Gateway stops communicating randomly and doesn't recover
@Carywin OK, my gatewayMQTTclient with RFM69 via SoftSPI is working now. There was a problem in RFM69_new.cpp file with SPI_HAS_TRANSACTION variable which is defined in hard SPI.h but not in SoftSPI.
Now I test my gateway and I hope it will work without losing connection. Thank you once more for help. -
RE: MQTT - RFM69 Gateway stops communicating randomly and doesn't recover
@Carywin The problem with compiling by Arduino is with softSPI. When I switch it off my sketch is compiling properly. I have to implement softSPI library to new driver. Thanks.