Forum Replies Created
-
AuthorPosts
-
uRADMonitor
KeymasterThanks to your findings, I was able to identify a bug in the temperature encoding scheme:
uint16_t double2int(double val) { int8_t sintp = (int8_t)val; //signed integer part int8_t sdecp = (val - sintp ) * 100; //signed decimal part uint8_t udecp = sdecp>0?sdecp:-1*sdecp; //removed decimal sign uint8_t uintp = sintp + 127; //convert to unsigned uint16_t res = (udecp << 8) | (uint16_t)uintp; //pack it together return res; }
The sign is lost when the integer part is 0, exactly all values between 0 and -1. The fix is added to the firmware as we speak, unless it can be solved on the server side.
For CO2, let’s continue herE: https://www.uradmonitor.com/topic/co2-sensor/
uRADMonitor
KeymasterThe readings across December. I was able to identify a single “jump”. Please confirm. We can have the auto-calibration disabled, but I don’t think it’s a good idea. All tests on these sensors have shown good correspondence to the reference unit. I’m concerned that disabling auto-calibration will induce a building offset over time.
Attachments:
uRADMonitor
KeymasterThe PM2.5 data is originally generated by the A3, which is then used to extrapolate the PM1.0 / PM10.0 via a linear model, which you probably saw already due to the common chart shapes. There’s a lot of literature covering this topic, and more transformation models. So we might see changes to these calculations in the future.
uRADMonitor
KeymasterDone! Happy New year!
uRADMonitor
KeymasterSounds good, let me know when you get the usbAsp , I will assist you further.
uRADMonitor
KeymasterYour unit doesn’t have a noise sensor as I recall. This feature is being added to current A3 design, but it is still experimental.
For the CH2O, please try to approach some ethyl alcohol close to the unit, so some of the vapour would be sucked inside the detector, to see if it triggers a response.
uRADMonitor
KeymasterDone! Thanks, Radu
uRADMonitor
KeymasterSure, please use:
http://www.uradmonitor.com/tools/dashboard-04/?open=11000084respectively,
http://www.uradmonitor.com/tools/dashboard-04/?open=82000074Please note this is in BETA.
Happy New Year!
uRADMonitor
KeymasterSolved, the LoRaWAN callback is not configured: https://uradmonitor.com/tools/dashboard-04/?open=14000011
uRADMonitor
KeymasterWould you like to upgrade the firmware? This will probably improve things. It’s easy: https://www.uradmonitor.com/firmware-upgrade-guide/
uRADMonitor
KeymasterHi Pat, newer iterations have a sound/noise sensor, but it is still in testing, so I would call it experimental. Your unit is HW103 and doesn’t have it, this is why you are seeing zeros.
uRADMonitor
KeymasterNeither do I , if port 80 is open this shows the firmware is working (the TCP/IP stack is fairly complex by itself).
uRADMonitor
KeymasterThat is correct, and thanks for pointing out there is no description for this parameter. I need to fix that.
I should be the altitude above sea level.
uRADMonitor
KeymasterPlease see detailed API description and the examples on the Dashboard, API tab.
To get the readings you will use:
https://data.uradmonitor.com/api/v1/devices/5100001F/cpmfor the last 24h of “cpm” data. Instead of CPM you can use any of the sensor labels supported by your device (you already got that list):
{“cpm”:”Radiation”,”voltage”:”Voltage”,”duty”:”Duty cycle”,”all”:”All”}Finally you can call
https://data.uradmonitor.com/api/v1/devices/5100001F/cpm/timestart/timestopand
https://data.uradmonitor.com/api/v1/devices/5100001F/cpm/lastAll this is explained in the API documentation, please check it out. All these calls require X-User-id and X-User-hash in headers.
uRADMonitor
KeymasterHi Pat,
You will need to send authentication data via the headers. Please see the instructions in the Dashboard, under API tab.
Let me know if this helps.
Thanks!
-
AuthorPosts