@andriej
Hi, I had problem using the main branch mysensors/Raspberry, that because of the bit-field struct (header_s) in Sensor.h They will get packed in different order on the arduino compared to the RPi (at least with my compiler, gcc). In order to fix this I created the 1.4dev branch. It uses full bytes instead of the bit-fields, but you need (of cause) to compile both the sensors (arduino) and the gateway (RPi) using the 1.4dev branch.
We need to fix this in the main branch later on (and use the same files as in mysensors/Arduino/libraries/MySensors)
Hey!
If you're using ESP32 with LoRa (RFM95) and a Raspberry Pi gateway, here are some quick tips:
Hardware: Heltec ESP32 + LoRa boards work great with MySensors.
Power: ESP32 (~600mA) + LoRa (~120mA) can drain batteries fast—Arduino might be better.
Software: Use Arduino IDE for ESP32 (try EnergyMeterPulseSensor), and set up an MQTT gateway on the RPi. Home Assistant works well for data visualization.
Real-World Tips: MySensors + LoRa is great for farm/weather monitoring—checking similar projects can help.
Hi, I'm glad CodeGarage is taking over! Please are there any updates since January what's happening? The GitHub repo hasn't gotten commits for over a year. Thanks!
Old topic, I know. Did anything ever come of this?
I'm also thinking it would be easy & cheap to get the espnow working as a transport layer.
I found this: https://www.mysensors.org/apidocs-beta/classESPNOW.html
But it goes above my head and abilities when it comes to code.