Radiation Monitoring with uRadMonitor

140 views
Skip to first unread message

Marcolino

unread,
Apr 7, 2015, 7:54:40 AM4/7/15
to ope...@googlegroups.com
Hi all,
I just finish to configure OpenHab to monitor and trace Radiation Levels in my zone. To to that I joined to http://www.uradmonitor.com/ and purchased the hardware.
Device is a small device with a power socket and a Ethernet Port. Once powered device start monitoring Radiation Level and push it to http://www.uradmonitor.com/ site for Worlwide monitoring System.
Just plug it and get Address your DHCP assigned to device.
Since latest firmware, a local web page and JSON is available.
So I write Items, Rule, Sitemap e persist to perform a local monitor Radiation.

Items:
Group gpRadiation (All)
Group gpRadiationCPM (All)
Group gpRadiationUSVH (All)

Number METEO_CHART_SWITCH "Periodo"

String METEO_RAD_JSON "uRadMonitor Json Out [%s]" { http="<[http://192.168.1.73/j:60000:REGEX((.*))]" }
Number METEO_RAD_CPM "Radiation [%d CPM]" <radioactive> (gpRadiationCPM, gpRadiation)
Number METEO_RAD_USVH "Radiation [%.3f uSv/h]" <radioactive> (gpRadiationUSVH, gpRadiation)
Number METEO_RAD_CPM_AVG_H "Radiation Avg Hour [%.0f CPM]" <radioactive> (gpRadiationCPM, gpRadiation)
Number METEO_RAD_USVH_AVG_H "Radiation Avg Hour [%.3f uSv/h]" <radioactive> (gpRadiationUSVH, gpRadiation)
Number METEO_RAD_CPM_AVG_D "Radiation Avg Day [%.0f CPM]" <radioactive> (gpRadiationCPM, gpRadiation)
Number METEO_RAD_USVH_AVG_D "Radiation Avg Day [%.3f uSv/h]" <radioactive> (gpRadiationUSVH, gpRadiation)
String METEO_RAD_MAIN_RECAP "Radiazione Recap [%s]" <radioactive> (gpRadiation)

I have one item to contain full JSON and than 2 Item for istant Value, 2 for last hour average and 2 for last day averge, and one with a daily recap for main page on sitemap. The first Item is filled with HTTP Bindings, others with a rule.

Rule:
rule "Radiation"
when
Item METEO_RAD_JSON received update
then
//Recupero il JSON
var String sRadJson = METEO_RAD_JSON.state.toString
logInfo("RAD.Calc","Calcolo Radiazioni da JSON: "+sRadJson)
//Recupero i CPM dal JSON
var String rad_cpm = transform("JSONPATH", "$.data.cpm", sRadJson)
logInfo("RAD.Calc","CPM: "+rad_cpm)
METEO_RAD_CPM.postUpdate(rad_cpm.toString)
//Calcolo i uSv/h
//RadRaw=(CPM/Sens)*10;
var Number rad_n_cpm = METEO_RAD_CPM.state as DecimalType
var float rad_usvh
var double probe_sens = 0.006315
rad_usvh = (rad_n_cpm.floatValue*probe_sens.floatValue)
logInfo("RAD.Calc","uSv/h: "+rad_usvh.toString)
METEO_RAD_USVH.postUpdate(rad_usvh)

//Calcolo Le medie orarie
var Number rad_cpm_avg_h = METEO_RAD_CPM.averageSince(now.minusHours(1))
METEO_RAD_CPM_AVG_H.postUpdate(rad_cpm_avg_h)
logInfo("RAD.Calc","CPM Medi ultima ora "+rad_cpm_avg_h.toString)
var Number rad_usvh_avg_h = METEO_RAD_USVH.averageSince(now.minusHours(1))
METEO_RAD_USVH_AVG_H.postUpdate(rad_usvh_avg_h)
logInfo("RAD.Calc","uSv/h Medi ultima ora "+rad_usvh_avg_h.toString)
//Calcolo Le medie giornaliere
var Number rad_cpm_avg_d = METEO_RAD_CPM.averageSince(now.minusDays(1))
METEO_RAD_CPM_AVG_D.postUpdate(rad_cpm_avg_d)
logInfo("RAD.Calc","CPM Medi ultime 24h "+rad_cpm_avg_d.toString)
var Number rad_usvh_avg_d = METEO_RAD_USVH.averageSince(now.minusDays(1))
METEO_RAD_USVH_AVG_D.postUpdate(rad_usvh_avg_d)
logInfo("RAD.Calc","uSv/h Medi ultime 24h "+rad_usvh_avg_d.toString)
//Riepilogo Principale
// Math::round((test).floatValue*1000.0)/1000.0
var String main_recap = Math::round(rad_cpm_avg_d.floatValue).toString + " CPM / " + Math::round((rad_usvh_avg_d).floatValue*1000.0)/1000.0 +  " uSv/h"
METEO_RAD_MAIN_RECAP.postUpdate(main_recap)
logInfo("RAD.Calc","Riepilogo: "+main_recap)
end

Peristence:
Strategies {
// for rrd charts, we need a cron strategy
everyMinute : "0 * * * * ?"
}

Items {

      gpRadiationCPM* : strategy = everyMinute, restoreOnStartup
gpRadiationUSVH* : strategy = everyMinute, restoreOnStartup


}

and Sitemap:

Text item=METEO_RAD_MAIN_RECAP{
Text item=METEO_RAD_CPM
Text item=METEO_RAD_USVH
Text item=METEO_RAD_CPM_AVG_H
Text item=METEO_RAD_USVH_AVG_H
Text item=METEO_RAD_CPM_AVG_D
Text item=METEO_RAD_USVH_AVG_D
Switch item=METEO_CHART_SWITCH label="CPM - Periodo" icon="radioactive" mappings=[0="Ora", 1="4 Ore", 2="8 Ore", 3="12 Ore", 4="Giorno", 5="3 gg", 6="Sett.", 7="Mensile"]
Chart item=gpRadiationCPM period=h refresh=600 visibility=[METEO_CHART_SWITCH==0, METEO_CHART_SWITCH==Uninitialized]
Chart item=gpRadiationCPM period=4h refresh=1000 visibility=[METEO_CHART_SWITCH==1]
Chart item=gpRadiationCPM period=8h refresh=1200 visibility=[METEO_CHART_SWITCH==2]
Chart item=gpRadiationCPM period=12h refresh=1800 visibility=[METEO_CHART_SWITCH==3]
Chart item=gpRadiationCPM period=D refresh=2000 visibility=[METEO_CHART_SWITCH==4]
Chart item=gpRadiationCPM period=3D refresh=3600 visibility=[METEO_CHART_SWITCH==5]
Chart item=gpRadiationCPM period=W refresh=3600 visibility=[METEO_CHART_SWITCH==6]
Chart item=gpRadiationCPM period=M refresh=3600 visibility=[METEO_CHART_SWITCH==7]
Switch item=METEO_CHART_SWITCH label="uSv/h - Periodo" icon="radioactive" mappings=[0="Ora", 1="4 Ore", 2="8 Ore", 3="12 Ore", 4="Giorno", 5="3 gg", 6="Sett.", 7="Mensile"]
Chart item=gpRadiationUSVH period=h refresh=600 visibility=[METEO_CHART_SWITCH==0, METEO_CHART_SWITCH==Uninitialized]
Chart item=gpRadiationUSVH period=4h refresh=1000 visibility=[METEO_CHART_SWITCH==1]
Chart item=gpRadiationUSVH period=8h refresh=1200 visibility=[METEO_CHART_SWITCH==2]
Chart item=gpRadiationUSVH period=12h refresh=1800 visibility=[METEO_CHART_SWITCH==3]
Chart item=gpRadiationUSVH period=D refresh=2000 visibility=[METEO_CHART_SWITCH==4]
Chart item=gpRadiationUSVH period=3D refresh=3600 visibility=[METEO_CHART_SWITCH==5]
Chart item=gpRadiationUSVH period=W refresh=3600 visibility=[METEO_CHART_SWITCH==6]
Chart item=gpRadiationUSVH period=M refresh=3600 visibility=[METEO_CHART_SWITCH==7]
}





Image1.JPG
Image2.JPG
Image3.JPG

ari...@nesys.it

unread,
Apr 19, 2015, 2:49:51 AM4/19/15
to ope...@googlegroups.com
Hi Marcolino,

very nice try, thank you.

I'm also from Italy (Milan), quite interested on details (how to buy hw, ...).

Another question: is this also useful to monitor radon?

Thank you

Andrea

Marco Pozzuolo

unread,
Apr 19, 2015, 4:50:12 PM4/19/15
to ope...@googlegroups.com
Hi Andrea,
you can contact team on http://www.uradmonitor.com/

This device can capture only Gamma Radiation, caused by cosmic event, or Nuclear Issue.
Radom and all of it derivate produce Alfa radiation, and so this device is not good. To detect Radon you can use this https://www.safetysirenpro.com/international_it/

Marco


-----------------------------------------------------------------------------------------------------------------
Marco Pozzuolo
PS. Realizzo PCB artigianali con piste stagnate.

--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/5qdPFWfCW0Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/0c10be82-0dc6-4b91-ab4f-5a32e914fbed%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

ari...@nesys.it

unread,
Apr 21, 2015, 9:31:52 AM4/21/15
to ope...@googlegroups.com
Hi Marco,

only gamma, or also beta?

for radon, I'm trying to understand if this is viable for us, to be integrated into OH:


I will let you know

Andrea

Marco Pozzuolo

unread,
Apr 21, 2015, 9:34:29 AM4/21/15
to ope...@googlegroups.com
Hi Andrea,
only Gamma. Tube is inside a Alluminium case, and software is calibrated too.
Ask to Radu in uRadMonitor site and he can explain all doubts you have.

Let me know about Theremino

Marco


-----------------------------------------------------------------------------------------------------------------
Marco Pozzuolo
PS. Realizzo PCB artigianali con piste stagnate.

Marco Pozzuolo

unread,
Apr 21, 2015, 5:01:10 PM4/21/15
to ope...@googlegroups.com
Ciao Andrea,
with this you can connect Safety Siren Pro to OpenHab


M.


-----------------------------------------------------------------------------------------------------------------
Marco Pozzuolo
PS. Realizzo PCB artigianali con piste stagnate.

Reply all
Reply to author
Forward
0 new messages