Forum Replies Created
-
AuthorPosts
-
uRADMonitor
KeymasterHello Wolferl,
Please see the files attached, and use them as a starting point. I am using CrossAVR over Eclipse for the AVR Toolchain, and the Makefile is auto generated.
Attachments:
uRADMonitor
KeymasterHi Guys, sorry for the slow reply.
A new hardware revision of the A3 model (v105) comes with a noise pollution sensor. This cannot be used to record voice, as it is limited to just a few samples per minute (Voice goes in the kHz range, that means a few thousands of samples per second).
The noise pollution is a critical issue in cities, affecting life quality directly, this is why we need to address it as well.
as for the other questions:
“The Homepage shows Voice as Chooseable Sensor but no Data.”
The option is called “Noise”, not voice.
The selector is generic and it applies to the entire network, regardless of the those that don’t have a particular parameter (those will appear as black squares).“Wy is the Option shown if there is no such Sensor in my Device?”
Later A3 devices will all have the noise pollution sensor. The option was added in software, however older A3 units won’t be able to serve this data.uRADMonitor
KeymasterThis is great stuff, Wolferl, thank you!
uRADMonitor
KeymasterMy pleasure! 🙂
uRADMonitor
KeymasterI agree, we’ll have that in place once the notifications are implemented. As a first step, all unit owners received an account here. That account will be used for the notifications.
uRADMonitor
Keymaster13000212 is online. Do you want me to delete it?
uRADMonitor
KeymasterThe code runs with errors:
[Error] TypeError: $ is not a function. (In ‘$(“#status”)’, ‘$’ is undefined)
downloadUnits (radiation-monitoring:325)
Global Code (radiation-monitoring:424)You will need to add JQuery too, it is also in JSFiddle, top-left of the screen. But easier, here is what you need to add to the blog’s headers:
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/dygraph/1.1.1/dygraph-combined.js"></script>uRADMonitor
KeymasterIt is done, please use
https://www.uradmonitor.com/?open=51000070&sensor=cpmThe full list of values for ‘sensor’ include:
temperature (Temperature)
pressure (Pressure)
humidity (Humidity)
voc (VOC)
noise (Noise)
ch2o (Formaldehyde)
co2 (Carbon Dioxide)
pm25 (PM2.5)
cpm (Radiation)uRADMonitor
KeymasterApparently if works in Safari right away, while Chrome says “Failed to load resource: net::ERR_INSECURE_RESPONSE” and the code only shows the purple “Loading”.
“Your resource probably use a self-signed SSL certificate over HTTPS protocol. Chromium, so Google Chrome block by default this kind of resource considered unsecure. ”
You can bypass this this way :
Assuming your frame’s URL is https://www.domain.com, open a new tab in chrome and go to https://www.domain.com.
Chrome will ask you to accept the SSL certificate. Accept it.
Then, if you reload your page with your frame, you could see that now it works
The problem as you can guess, is that each visitor of your website has to do this task to access your frame.You can notice that chrome will block your URL for each navigation session, while chrome can memorise for ever that you trust this domain.
This problem will be fixed in a more elegant way, as soon as the entire site moves to HTTPS, soon.
LE: if you can use the code , changing the HTTPS to HTTP in the api calls in the javascript code (not on JSFiddle), then it will work as well.
uRADMonitor
KeymasterThis is a great idea, I’ll look into having it soon. Thanks!
uRADMonitor
Keymaster@nox built the uRADMonitor-X, it is close to what you want: https://www.uradmonitor.com/topic/uradmonitorx/
uRADMonitor
KeymasterLevering the effort on the upgrade mechanism increases the programming effort on offering such support 🙂
Such a feature is in plan, and we will have OTA upgrades, I just didn’t have the time to implement it yet. But I will.
uRADMonitor
KeymasterThere was an issue with the database, now fixed, thanks for the prompt report!
uRADMonitor
KeymasterDone!
For the 13000211, you will need to also set the new user ID / user Key in the firmware, if you didn’t already.
Radu
uRADMonitor
KeymasterWill provide more info on the new features: I started a new blog post for that, hope to have it ready soon.
-
AuthorPosts