Submit data to radmon.org with node-red

More
9 months 2 weeks 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
9 months 2 weeks 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
9 months 2 weeks 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
9 months 2 weeks 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
9 months 2 weeks 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.143 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 43% Memory 13% Swap 15% CPU temp=59.9'C Uptime 21 Days