tridge / DavisSi1000

Implement Davis ISS wireless protocol for Si1000 transceivers
BSD 2-Clause "Simplified" License
20 stars 8 forks source link

Solar radiation not reported #7

Open edrap opened 4 years ago

edrap commented 4 years ago

Hi,

I'm using the radiohm_trp.ihx firmware and the packet sent by the ISS are correctly decoded except the solar radiation data. I'm using an official Davis pyranometer and I'm sure it works, but the reported data says 0.0 constantly.

Below an example message: { "transmitter_id": 0, "RSSI": 131, "recv_packets": 32133, "lost_packets": 35, "bad_CRC": 12, "wind_speed_mph": 9, "wind_direction_degrees": 188, "temperature_F": 40.66, "humidity_pct": 79.3, "UV_index": 20.44, "solar_Wm2": 0.0, "rain_spoons": 41, "raw": "80 09 85 19 1B 00 1F 5A FF FF", "version": "1.0" }

I'm also wandering whether the UV data are correctly decoded. I have no UV sensor connected to the ISS but a value of 20.44 is always reported.

edrap commented 4 years ago

Compiling radio~hm_trp.ihx from source solved the problem. Now the solar radiation is correctly decoded.

I Initially downloaded radio~hm_trp.ihx from http://uav.tridgell.net/DavisSi1000/firmware but I guess that the decoding of the solar radiation was not implemented yet at the compiling time.