Skip to content
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

not getting data #181

Open
promy opened this issue Nov 10, 2023 · 4 comments
Open

not getting data #181

promy opened this issue Nov 10, 2023 · 4 comments

Comments

@promy
Copy link

promy commented Nov 10, 2023

I'm unable to get data to weewx.
A bit more info
I installed the driver cfr the readme
When i run rlt_433 -M utc -F json i am seeing the data
i edited the weewx with the sensor map (for testing i commented out the wind/rain)
[[sensor_map]]
outBatteryStatus = battery.1:9.HidekiTS04Packet
outHumidity = humidity.1:9.HidekiTS04Packet
outTemp = temperature.1:9.HidekiTS04Packet

but the log shows nothing from weewx after
INFO weewx.engine: Starting main packet loop.

switching to the TE923 and i'm getting the data (but the problem is the tfa sinus is loosing the sensors after 10minutes due to inferference from the usb (known problem it seems)

@andylittle
Copy link
Contributor

post some of the output of rlt_433 -M utc -F json

@promy
Copy link
Author

promy commented Nov 10, 2023

here are some of the values

{"time" : "2023-11-10 14:41:47", "model" : "Hideki-TS04", "id" : 6, "channel" : 1, "battery_ok" : 1, "temperature_C" : 7.600, "humidity" : 84, "mic" : "CRC"}
{"time" : "2023-11-10 14:41:47", "model" : "Hideki-TS04", "id" : 6, "channel" : 1, "battery_ok" : 1, "temperature_C" : 7.600, "humidity" : 84, "mic" : "CRC"}
{"time" : "2023-11-10 14:41:47", "model" : "Hideki-TS04", "id" : 6, "channel" : 1, "battery_ok" : 1, "temperature_C" : 7.600, "humidity" : 84, "mic" : "CRC"}
{"time" : "2023-11-10 14:41:53", "model" : "Hideki-TS04", "id" : 0, "channel" : 2, "battery_ok" : 1, "temperature_C" : 22.000, "humidity" : 60, "mic" : "CRC"}
{"time" : "2023-11-10 14:41:53", "model" : "Hideki-TS04", "id" : 0, "channel" : 2, "battery_ok" : 1, "temperature_C" : 22.000, "humidity" : 60, "mic" : "CRC"}
{"time" : "2023-11-10 14:41:53", "model" : "Hideki-TS04", "id" : 0, "channel" : 2, "battery_ok" : 1, "temperature_C" : 22.000, "humidity" : 60, "mic" : "CRC"}
{"time" : "2023-11-10 14:42:05", "model" : "Hideki-Rain", "id" : 0, "channel" : 4, "battery_ok" : 1, "rain_mm" : 2255.400, "mic" : "CRC"}
{"time" : "2023-11-10 14:42:05", "model" : "Hideki-Rain", "id" : 0, "channel" : 4, "battery_ok" : 1, "rain_mm" : 2255.400, "mic" : "CRC"}
{"time" : "2023-11-10 14:42:06", "model" : "Hideki-Rain", "id" : 0, "channel" : 4, "battery_ok" : 1, "rain_mm" : 2255.400, "mic" : "CRC"}

@promy
Copy link
Author

promy commented Nov 10, 2023

an extra comment: in the log it shows up if my garage door remote is pressed: "weewx[16535] DEBUG user.sdr: parse_json: unknown model Microchip-HCS200"
so something is happening i guess

@promy
Copy link
Author

promy commented Nov 11, 2023

I found the problem: the example suggests outBatteryStatus = battery.1:9.HidekiTS04Packet
But the 9 is the id.... mine is another number, after changing this, it was solved ;-)

for the HidekiRainPacket and HidekiWindPacket i (think) i found an error in sdr.py: it says
pkt['rolling_code'] = obj.get('rc')

but with my sensors i needed to change this to

pkt['rolling_code'] = obj.get('id')

this just like the HidekiTS04Packet where this was already changed

andylittle added a commit to andylittle/weewx-sdr-1 that referenced this issue Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants