Submit data to radmon.org with node-red

More
8 months 4 days ago #6569 by Juzzie
The Achievement.
After a long series of favourable accidents, I have managed to get my rpi 4B up and  running as a local server and database for my environmental monitoring data - all powered by solar.
This miracle has been made possible with the use of nginx server, node-red, influxdb, Grafana, and my very limited intellect.

The Problem.
Over the years I have bought quite a number of geiger counter kits from brohogan (https://sites.google.com/site/diygeigercounter/) and currently am using 3x gk-b5 + gk-wifis and a gk-radmon to submit my data to radmon, thingspeak, and, now, my own database via mqtt.
So, recently I decided to see if I could magick a 5th counter into the fray via USB connected directly into the rpi server, as a bit of fun, and have mostly succeeded. - CPM, Dose, Vcc through USB0 > node-red > influxdb, thingspeak, Grafana. BUT - I cant work out how to send the CPM to radmon.org using node red. I think it's down to adding CPM payload to radmon submission htpp string, or some such.
Would someone be so kind as to point me in the right direction?

Owner and operator of "southofhobart" monitoring stations.

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

More
8 months 3 days ago #6570 by Simomax
I know nothing about code red so my help is very limited; did you read the pages on the Node red HTTP recipes page? (Here:  https://cookbook.nodered.org/http/ )

I had a quick look through, and if I am understanding your issue correctly (can't pass CPM over to http thingy) the answer may be on the set query string parameters link on the recipes page. What I am understanding from a (very) little reading it seems you have to set the query and then inject it into the URL, or something like that.

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

More
8 months 3 days ago #6574 by Juzzie
Thank you Simomax. Followed the link and it looks promising. Working on it now...The terminology is counter intuitive - I wasn't aware that posting data to my radmon station was a "query".

Owner and operator of "southofhobart" monitoring stations.

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

More
8 months 3 days ago #6576 by Juzzie
I got it working, thank you once again simomax :-}

Owner and operator of "southofhobart" monitoring stations.

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

More
8 months 3 days ago #6577 by Simomax
Brilliant! Well done.

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

Moderators: Gamma-Man
Time to create page: 0.153 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 45% Memory 13% Swap 18% CPU temp=61.3'C Uptime 56 Days