Would it be possible to allow more environmental inputs besides CPM?

More
4 months 2 weeks ago #6831 by DonZalmrol
Probably it has been asked before, but would it be possible to allow more environmental inputs besides CPM?
e.g. tube votlage, temperature, humidity, barometric pressure, voc, CH2O, ... ?

It would digress a little bit from the main focus of this site, but all-in-all I think it would be a bonus instead of drawback.

Thanks!

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks ago #6832 by Simomax
Maybe in the future. I think mw0uzo was looking to do something like this some time ago but never actually implemented anything. There is still much work needs to be done to radmon core though before I'll be implementing anything new. One of the things I started to do some time back was make radmon more 'modular', so to speak, so it would be easier to implement new things and make changes easily. I got about half way there but life got it's teeth into me again and I have had little time of late. So my answer can only be maybe at the moment.

There are some things to consider though, such as the actual necessity of extra sensors (for radmon.org) and database size. The database is fairly large as it stands right now, and with a station submitting every 60 seconds, that equates to just over 525,000 records every year. So if one extra sensor was added, records for just one user would increase to 1,050,000 records annually. 4 sensors would be 2,100,000 records, just for one user. Not every user will have more than the CPM, but some may. This brings into question (at least for me), why do I need to see your tube voltage? Why do I need to see the pressure at your station location. I understand you want to see these, but they are kinda pointless for other people. So implementing something like tube voltage probably wouldn't get done. However, air quality would be good for everyone, VOCs, PM 2.5/10 etc, humidity less so. Rain would be a good sensor to add as this rain is occasionally radioactive. So it is really a matter of getting a good balance of useful sensor readings that everyone can benefit from and that doesn't bloat the database with data that is only relevant to one person.

I will be revisiting this in the future, but only when radmon core has had sufficient work to accommodate extra things.

Comments/opinions on this form anyone would be very welcome.

Please Log in or Create an account to join the conversation.

More
4 months 2 weeks ago - 4 months 2 weeks ago #6833 by mw0uzo
Yes there is. When the RPi5 comes out we will need to migrate the server over, it makes sense to rebuild it somewhat.

The plan is to go MQTT and Node-Red so that users can effectively send whatever they like. CoAP would probably work too and somewhere around that would be a solution to take all the existing HTTP requests and pipe it into the new system.

There will be some sensible defaults of course, but it should be a lot more flexible and people could subscribe to other people's data if they want to.

What would be really nice is if there was an open source data management system that we could adapt into radmon.org. Research required.

Simomax has done a lot of tidy up work, so it would be nice to keep as much as possible of that too. The solution is in there somewhere, probably bolting on MQTT and Node-Red into our current website
Last edit: 4 months 2 weeks ago by mw0uzo.

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago - 3 months 3 weeks ago #6847 by DonZalmrol
Happy new year and glad to hear this!
Thanks for the work so far on this project!

Regarding storing data, maybe look into only preserving certain data points, instead of every count for the past X-years? That will save a lot on storage. e.g. after 1 year only storing the average of each month and the highest spikes of a station.

But I can understand you want it all to show a complete picture.
Last edit: 3 months 3 weeks ago by DonZalmrol.

Please Log in or Create an account to join the conversation.

More
Moderators: Gamma-Man
Time to create page: 0.204 seconds
Powered by Kunena Forum
Everything's free. Please support us by considering a donation. Log in first!
Solar powered Raspberry Pi 4 server stats: CPU 38% Memory 14% Swap 17% CPU temp=58.4'C Uptime 50 Days