matthias-bs / BresserWeatherSensorTTN

Bresser 5-in-1/6-in-1/7-in-1 868 MHz Weather Sensor Radio Receiver based on ESP32 and RFM95W/SX1276 - sends data to a LoRaWAN Network (e.g. The Things Network)
MIT License
22 stars 9 forks source link

Request for testing Heltec Wireless Stick configuration #49

Closed matthias-bs closed 1 year ago

matthias-bs commented 1 year ago

Please test the Heltec Wireless Stick configuration and provide your feedback!

Deep-sleep current consumption would be interesting, too!

matthias-bs commented 1 year ago

@jorgenavarroortiz It would be great if you could spend a little time on this!

matthias-bs commented 1 year ago

Please refer to https://github.com/matthias-bs/BresserWeatherSensorTTN#software-build-setup and select the following board: grafik

jorgenavarroortiz commented 1 year ago

Sure! Just give me a few days and I will try to connect this board to TTN :-)

jorgenavarroortiz commented 1 year ago

Hi! The pinout is ok since I am receiving data on TTN. However, I think I have some problem with the decoder (ttn_decoder_fp.js) since the data do not show proper values. If you have some simple steps that I can follow to test this, it would be great. On BresserWeatherSensorTTNCfg.h I have only enabled SENSORID_EN and RAINDATA_EN, and I have updated the javascript formatter on TTN. However, results are strange... I will try to make it work in the next days.

matthias-bs commented 1 year ago

Hi, Thank you very much for testing!

In https://github.com/matthias-bs/BresserWeatherSensorTTN/blob/main/decoder_basic.js there is a more detailed explanation how to set the decoder based on the Arduino sketch configuration. Or you could try https://github.com/matthias-bs/BresserWeatherSensorTTN/blob/main/scripts/generate_decoder.py to generate the decoder's core function automatically from your BresserWeatherSensorTTNCfg.h.