matthias-bs / bresserweathersensorlw Goto Github PK
View Code? Open in Web Editor NEWBresser 868 MHz Weather Sensor Radio Receiver based on ESP32/RP2040 and SX1262/SX1276 - sends data to a LoRaWAN Network
License: MIT License
Bresser 868 MHz Weather Sensor Radio Receiver based on ESP32/RP2040 and SX1262/SX1276 - sends data to a LoRaWAN Network
License: MIT License
CMD_SET_OW_CFG num_ow_sensors[7:0]
<num_ow_sensors>
: actual number of sensors
Currently, the available sensor data decoders are defined at compile time. It could be useful to implement enabling/disabling of decoders at run time via downlink command.
Disabling of unused decoders improves run time/energy consumption.
See https://resources.lora-alliance.org/technical-specifications/ts013-1-0-0-payload-codec-api
[X] Check existing scripts for standard compliance
[X] Create metadata.json
file
[X] Create examples
[ ] Create npm package
For some unknown reason the 1-Wire sensor code did not make it into the project yet...
Currently the LoRaWAN credentials are defined at compile time. This means, a separate binary image has to be created for each deployed device.
The credentials could be provided as a file stored in the Flash file system which could be read by the SW at startup.
See https://github.com/earlephilhower/arduino-littlefs-upload
HI,
I think this isn't the best way but I think I've made a mess.
I'll pass you the material here.
Davide
document.zip
Currently, the number of sensors is defined at compile time.
To find your sensors (or other sensors within range) you currently have to run BresserWeatherSensorBasic or BresserWeatherSensorLW with debugging enabled and USB connection to serial console for analysis .
This feature will allow to get the same information via LoRaWAN.
CMD_SENSORS_SCAN <scan_time>
Resonse:
<id0>, <type0>, <ch0>[, <flags0>], <rssi0>
...
<idN>, <typeN>, <chN>[, <flagsN>], <rssiN>
To change the sensor configuration and the uplink payload, BresserWeatherSensorLWCfg.h
has to be modified. Afterwards, scripts/uplink_formatter.js
has to be modified.
A spreadsheet could be used to select the types and numbers of sensors and generate the required code sections.
longSleep (1 bit)
Sensor valid flags (1 bit per sensor)
BresserWeatherSensorLW/src/AppLayer.cpp
Line 462 in 54a13e1
Sensor battery status flags (1 bit per sensor)
BresserWeatherSensorLW/src/AppLayer.cpp
Line 462 in 54a13e1
@evon800c You kindly offered your help in testing - much appreciated!
It would be great if you could test if the current main branch works. Heltec WiFi LoRa 32 V3 is implemented, even if the README.md doesn't show it.
Currently, the BLE scan time is defined at compile time.
This can be implemented in the same way as ws_timeout
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.