- Forum
- Software discussions
- Arduino Code
- (Solved) Arduino code on ESP8266 keep crashing on submitting CPM to Radmon
(Solved) Arduino code on ESP8266 keep crashing on submitting CPM to Radmon
2 years 11 months ago #5942
by Simomax
Replied by Simomax on topic Help Needed! Arduino code on ESP8266 keep crashing on submitting CPM to Radmon
All functions re-enabled! Will see how it does overnight.
Please Log in or Create an account to join the conversation.
2 years 10 months ago #5943
by Simomax
Please Log in or Create an account to join the conversation.
2 years 10 months ago - 2 years 10 months ago #5952
by Simomax
Replied by Simomax on topic (Solved) Arduino code on ESP8266 keep crashing on submitting CPM to Radmon
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: 2 years 10 months ago by Simomax.
Please Log in or Create an account to join the conversation.
2 years 9 months ago - 2 years 9 months ago #6034
by 4L7RU157
Replied by 4L7RU157 on topic (Solved) Arduino code on ESP8266 keep crashing on submitting CPM to Radmon
This looks like it could be used to improve radmon's software documentation (the arduino chapter) 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: 2 years 9 months ago by 4L7RU157.
Please Log in or Create an account to join the conversation.
2 years 9 months ago #6035
by Simomax
Replied by Simomax on topic (Solved) Arduino code on ESP8266 keep crashing on submitting CPM to Radmon
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: https://radmon.org/index.php/forum/homebrew-counters-electronic-design-and-building/1215-solved-arduino-code-on-esp8266-keep-crashing-on-submitting-cpm-to-radmon?start=0#5939
Please Log in or Create an account to join the conversation.
2 years 9 months ago #6037
by Simomax
Replied by Simomax on topic (Solved) Arduino code on ESP8266 keep crashing on submitting CPM to Radmon
4L7RU157, this may (or may not) help you. It is some bare bones code for the ESP8266/Wemos D1 Mini: https://radmon.org/index.php/forum/howtos-and-faqs/1225-esp8266-wemos-d1-mini-arduino-code-bare-bones-code-verified-working
Please Log in or Create an account to join the conversation.
Moderators: Gamma-Man
- Forum
- Software discussions
- Arduino Code
- (Solved) Arduino code on ESP8266 keep crashing on submitting CPM to Radmon
Time to create page: 0.231 seconds