(Solved) Arduino code on ESP8266 keep crashing on submitting CPM to Radmon

  • Simomax
  • Simomax's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Nuts about radioactive everything!
More
6 months 1 week ago #5942 by Simomax
All functions re-enabled! Will see how it does overnight.

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

  • Simomax
  • Simomax's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Nuts about radioactive everything!
More
6 months 1 week ago #5943 by Simomax
It ran all night without a hiccup! I think I'll call this solved! 

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

  • Simomax
  • Simomax's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Nuts about radioactive everything!
More
6 months 1 week ago - 6 months 1 week ago #5952 by Simomax
4 days uptime (349539 seconds) and still going strong. Looks like the new code is working well. One thing I need to see is that it is capable of failing for a while and make sure it recovers OK. Such as in an internet outage or Radmon.org being down. I should do the same with the WiFi connection and make sure it recovers OK after an outage. I think once that is confirmed I can roll this as Version 1.0.
Last edit: 6 months 1 week ago by Simomax.

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

More
4 months 1 week ago - 4 months 1 week ago #6034 by 4L7RU157
This looks like it could be used to improve radmon's software documentation (the arduino chapter) :P It sure is a lot of reading. Would you happen to have a code snippet that focuses just on the submitting to radmon part? I have my counter running but it still fails to send the data to radmon with the default code. I would also be happy with a github repo, as that has better syntax highlighting (would be nice to have on this forum too!)

wificlient.print("GET /radmon.php?function=submit&user=");
wificlient.print(RadmonUser);
wificlient.print("&password=");
wificlient.print(RadmonPass);
wificlient.print("&value=");
wificlient.print(int(readings[1]));
wificlient.print("&unit=CPM");
wificlient.println(" HTTP/1.0");
wificlient.println("HOST: radmon.org");
wificlient.println();
Last edit: 4 months 1 week ago by 4L7RU157.

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

  • Simomax
  • Simomax's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Nuts about radioactive everything!
More
4 months 1 week ago #6035 by Simomax
You missed it, 5 posts back.   That is the code I am using and have been since that post. It seems to work well. Not had any hiccups with that code. Here is the post: radmon.org/index.php/forum/homebrew-coun...-radmon?start=0#5939
 

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

  • Simomax
  • Simomax's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Nuts about radioactive everything!
More
4 months 1 week ago #6037 by Simomax
4L7RU157, this may (or may not) help you. It is some bare bones code for the ESP8266/Wemos D1 Mini: radmon.org/index.php/forum/howtos-and-fa...ode-verified-working 

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

Time to create page: 0.325 seconds
Powered by Kunena Forum
Solar powered Raspberry Pi 4 server stats: CPU 91% Memory 16% Swap 18% CPU temp=69.1'C Uptime 21 Days