You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Send data to Emoncms server
String result = "";
if (emoncms_fingerprint.isEmpty())
{
// HTTPS on port 443 if HTTPS fingerprint is present
DBUGLN(F("HTTPS Enabled"));
result =
get_https(emoncms_fingerprint.c_str(), emoncms_server.c_str(), url,
443);
}
else
{
// Plain HTTP if other emoncms server e.g EmonPi
DBUGLN(F("Plain old HTTP"));
result = get_http(emoncms_server.c_str(), url);
}
The condition should instead be:
if (!emoncms_fingerprint.isEmpty())
The text was updated successfully, but these errors were encountered:
I think that in
emoncms.cpp
, in this section:The condition should instead be:
The text was updated successfully, but these errors were encountered: