Comments (3)
Hi, Sorry for the late response, I missed the notification (I have too many ;)
There is not exactly a new plugin format here, some tweaked changes only as 95% of the code should remain the same. This is until we effectively switch to a brand new system or decide RTL433 is good enough to be ported on ESP32 (see RTL433 branch of this project)
Do you have any issue with the Oregon plugin today? You are right to say its current state is a nightmare, it makes absolutely no sense. It needs to be re-rewritten by someone who has some of these device. Are you feeling confident enough to try it?
from rflink32.
Hello.
I have an Oregon TH132N sensor.
Now I am rewriting Plugin_048.c. I would like to receive data from the sensor, for this I bought a Sonoff RF bridge. It turned out that the Oregon plug-in is in an extremely deplorable state. Alternative firmwares like OpenMQTTGateway don't support Oregon either (on ESP).
At this stage, I have corrected the data buffer parser code (temperature, humidity, battery, etc.). Unfortunately, I cannot guarantee that data from other sensors (not from TH132N) is parsed correctly. There is test data for them in the plugin source code. I used this data to fix the code. For TH132N (and compatible) I used my real sensor data.
There's another problem. Data comes very infrequently.
Sensors send data quite often
For example, you can simply do a reset or pull out / put the battery in - the sensor sent its state at startup, but in fact, the data will be received (RF part, i don't know) and successfully parsed (perhaps the decoder cannot form an adequate buffer from the data) 1 time for 20 sensor restarts
RFLink Radio/Signals or the Oregon decoder very rarely gives a buffer with data. To find the reason, I need to somehow see the receipt of signals, but RFLink does not send me anything when I call Serial.printf(WHY!!!????)! If the debug data is sent via sendRawPrint, then everything comes. The oregon plugin I'm testing on a computer via mockup (sample data).
I do not know how to connect the debugger to the ESP !!!
Give advice:
- How to get Serial.print to work (putty.exe -serial COM4-sercfg 115200,8,n,1,X)
- How to debug code directly from VisualStudio (Code or Full/Paid/Pro)
- How to set up signals? Do the default settings work for all devices? I changed a bit and at some point good signals began to come more often.
When I finish, then share the plugin
from rflink32.
Curious as to why plugin_048 (for Oregon Scientific sensors, which are quite popular) was never refactored into what I believe is a new plugin format. Is there a technical reason why that's not possible OR has someone has already done it and I'm just not finding it OR has no-one has taken the time to do it. Sorry for such a basic question but I'm still trying to wrap my head around this fork of RFLink and why/how the plug-in format has modified from the original. Posted a similar question on the couin3/RFLink fork but thought I would ask here since this project seems to still be active.
My fixes in this post: #74
from rflink32.
Related Issues (20)
- Error 404 when flashing SonOff bridge
- Not all protocols working on esp32/cc1101 vs sonoff RFBridge HOT 1
- cc1101 bandwith setting HOT 1
- Different pins for SPI? HOT 1
- No TX-data signal for OOK transmitter HOT 1
- Reboot after NewKaku command HOT 1
- Very bad range with CC1101
- Help to send RTS commands
- Incorrect "SWITCH" value when sending HOT 1
- Support for ESP32-C3 HOT 1
- Using LILYGO Lora T3_V1.6.1
- AuriolV3 negative temperature not returned
- TFA Dostmann Devices can not be received HOT 1
- Decoding signal from SunFree remote
- Add support for Warema EWFS blinds
- Dooya remote signals not being decoded HOT 1
- Louvolite blinds remote signals not being decoded
- Help creating entities from MQTT HOT 7
- Convert temperature readings from HEX to value HOT 1
- PLungins 06
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rflink32.