-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BTHR968 #14
Comments
Hello. Ofcorse it is possiible to simulate your lost sensor with "Transmitter"and if you need a real data - with "BME280_Transmiter" examples. You have to change packet length, data fields and method of calculating CRC8. Moreover validiry of pressure data in you sensor packet is still doubtfull and requre additional researching with real sensor. I have no one. |
Hello, i have tried but do not know the exact length to change and crc
method, can you send me a little sketch?
thanks from Italy ,Giovanni
Il giorno lun 25 gen 2021 alle ore 12:03 invandy <[email protected]>
ha scritto:
… Hello. Ofcorse it is possiible to simulate your lost sensor with
"Transmitter"and if you need a real data - with "BME280_Transmiter"
examples. You have to change packet length, data fields and method of
calculating CRC8. Moreover validiry of pressure data in you sensor packet
is still doubtfull and requre additional researching with real sensor. I
have no one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APYHNE7HDJHX3T2TN6DFLT3S3VFZPANCNFSM4VLX6V7Q>
.
|
ОК. Lets try to make BTHR emulator with common efforts. First, I'll make a sketch that will send a test packets, and you will test one on your weather station and give me a table with two columns:
|
i want to say thanks for your help. I think I build a battery-powered
emulator like in your project. I sure help you build a series of pressure
points but how do I determine the right time interval? I want to use the
BME280 and if everything works fine I could adapt the software to work with
ATTINY85, could that be an idea?
Il giorno mar 26 gen 2021 alle ore 11:44 invandy <[email protected]>
ha scritto:
… ОК. Lets try to make BTHR emulator with common efforts. First, I'll make a
sketch that will send a test packets, and you will test one on your weather
station and give me a table with two columns:
1. sent pressure data
2. weather station pressure readings
Also you'll have to pick up with your weather station the transmission
intervals that is suitable for this sensor
Second, we will create a final sketch.
Do you plan to make a emulator only or device with battery and timer,
like in "BME280_Transmiter" example?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APYHNE2774EBSXG64QVCV63S32MHTANCNFSM4VLX6V7Q>
.
|
#include <Oregon_TM.h> //variables is to be find out #define SEND_TIME 40000; //from datasheet - "around 40 seconds" /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// transmitter.setType(0x5D60); transmitter.SendBuffer[3] = 0; //Set pressure data //Set forecast /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
Try this. |
Grazie
I quickly tested your program. Nothing appears on the oregon station but
instead on the RTL_433 program running on Raspberry it is correctly seen
as:
Oregon BHTR968, ch 0, battery 1, house code 15, Hum 40%, Press 1013 hPa,
20.30 C.
I have tried to randomly change the CRC but without success.i tried also to
modify the tx time at 10 seconds but ..
I will continue the tests
Il giorno mar 26 gen 2021 alle ore 15:51 invandy <[email protected]>
ha scritto:
… Try this.
First, Put your weather station into search mode and try to send packets
with CRC_START_SUM = 0. If it will be unseccessefull, try other values.
Second, after exiting from search mode station have to keep connection
with sensor if SEND_TIME is correct. I found "around 40 seconds" in sensor
datasheet, but do not know what they mean exactly
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APYHNE7QV7N2GSBGQ4FC6XDS33JHDANCNFSM4VLX6V7Q>
.
|
Try CRC_START_SUM = 0xA1 |
I found real packet from sensor "5D600CE26610840091C3683" and loaded it in "CRC8_search" utility. At CCIT_POLY = 0x07 it gives CRC_START_SUM = 0xA1 |
Awesome, thanks!
IT WORK !! Thanks a lot . Now I want to check the BME280 or better sensor,
you are a big boss ! welcome in italy
Il giorno mar 26 gen 2021 alle ore 20:15 invandy <[email protected]>
ha scritto:
… I found real packet from sensor "5D600CE26610840091C3683" and loaded it in
"CRC8_search" utility. At CCIT_POLY = 0x07 it gives CRC_START_SUM = 0xA1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APYHNE6R5HKWR3EULEANGS3S34IFJANCNFSM4VLX6V7Q>
.
|
Don't forget about table :) |
i'm trying different value, at 7 seconds not loss, 10 same ok , i'll try 40
in short time
Il giorno mar 26 gen 2021 alle ore 20:49 invandy <[email protected]>
ha scritto:
… Don't forget about table :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APYHNE3QIQVVSNZLO66IIW3S34MF5ANCNFSM4VLX6V7Q>
.
|
After exiting search mode almost all Oregon stations block sensors with incorrect transmission interval. Lost data on the display in 15-20 minutes means that you set a wrong interval. Try to increase e.g. temperature on 0.1C with every transmisson. If data stops change on the display it means that connection is lost. |
hello, I lost my BTHR968 of the WMR968 station, I tried to simulate with your program and it doesn't work or at least it works only t temperature and humidity as part in one of the three channels but only as a THGN132 sensor, I tried with other programs found on the net but yours is the only one who calculates something right in the two nibbles after the post-amble, or so I'm convinced.
can you help me?
The text was updated successfully, but these errors were encountered: