SMA SunnyBoy Reader - compatibility matrix

This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.

SMA SunnyBoy Reader

Version: 0.1.0
More details

Compatibility matrix

Board Claims compatibility Inclusion
SMAReader_Demo
arduino:avr:uno
1.8.4
No FAIL FAIL
arduino:mbed_nano:nanorp2040connect
2.7.2
No FAIL FAIL
arduino:megaavr:nona4809
1.8.7
No FAIL FAIL
arduino:samd:mkrwifi1010
1.8.12
No FAIL FAIL
esp32:esp32:d1_mini32
1.0.6
No ⚠️ PASS PASS

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: FAIL

WARNING: library SMA_SunnyBoy_Reader claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on avr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:135:6: error: 'HTTPClient' does not name a type; did you mean 'DNSClient'?
      HTTPClient http;
      ^~~~~~~~~~
      DNSClient
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp: In member function 'bool SMAReader::postSMA(const char*, const char*, ArduinoJson6192_1::DynamicJsonDocument&)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:8:5: error: 'http' was not declared in this scope
     http.useHTTP10(true);
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:15:18: error: 'HTTP_CODE_OK' was not declared in this scope
     if(httpCode!=HTTP_CODE_OK) {
                  ^~~~~~~~~~~~
Multiple libraries were found for "ArduinoJson.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ArduinoJson
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Antares_ESP8266_HTTP
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ThingsIoT
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ThingESP
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CoogleIOT
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/AllThingsTalk_LTE-M_SDK
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/BaleMessengerBot_Arduino
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Antares_ESP8266_MQTT
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CMMC_MQTT_Connector
Multiple libraries were found for "EEPROM.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/avr/1.8.4/libraries/EEPROM
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Hello_Drum
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/arduino-NVM

examples/SMAReader_Demo

Result: FAIL

WARNING: library SMA_SunnyBoy_Reader claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on avr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:20:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:135:6: error: 'HTTPClient' does not name a type; did you mean 'DNSClient'?
      HTTPClient http;
      ^~~~~~~~~~
      DNSClient
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino: In function 'int connectWifi(bool)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:47:5: error: 'WiFi' was not declared in this scope
     WiFi.reconnect();
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:49:5: error: 'WiFi' was not declared in this scope
     WiFi.mode(WIFI_STA);
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:49:15: error: 'WIFI_STA' was not declared in this scope
     WiFi.mode(WIFI_STA);
               ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class HardwareSerial' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:53:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "%sonnecting to %s\n", firstConnect?"C":"Rec", WLANSSID);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:55:11: error: 'WiFi' was not declared in this scope
   while ((WiFi.status() != WL_CONNECTED) && (retryCount < 40)) {
           ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:55:28: error: 'WL_CONNECTED' was not declared in this scope
   while ((WiFi.status() != WL_CONNECTED) && (retryCount < 40)) {
                            ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class HardwareSerial' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:57:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_MIN_INFO, ".");
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:60:15: error: 'WiFi' was not declared in this scope
   int success=WiFi.status();
               ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:61:15: error: 'WL_CONNECTED' was not declared in this scope
   if(success==WL_CONNECTED) {
               ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class HardwareSerial' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:62:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_MIN_INFO, "WiFi connected\nIP address: %s\n", WiFi.localIP().toString().c_str());
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class HardwareSerial' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:64:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_ERROR, "Failed to connect\n");
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class HardwareSerial' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:66:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "Number of tries: %d\n", retryCount);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class HardwareSerial' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:67:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "Connecting time (microseconds): %lu\n", micros()-startwifi);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:79:8: error: 'WiFi' was not declared in this scope
     if(WiFi.status() == WL_CONNECTED) {
        ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:79:25: error: 'WL_CONNECTED' was not declared in this scope
     if(WiFi.status() == WL_CONNECTED) {
                         ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:84:14: error: 'class HardwareSerial' has no member named 'printf'; did you mean 'print'?
       Serial.printf("Getting values: %s\n", isSuccess?"success":"fail");
              ^~~~~~
              print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:87:20: error: 'class HardwareSerial' has no member named 'printf'; did you mean 'print'?
             Serial.printf("Value: %d\n", val);
                    ^~~~~~
                    print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:94:14: error: 'class HardwareSerial' has no member named 'printf'; did you mean 'print'?
       Serial.printf("Getting values: %s\n", isSuccess?"success":"fail");
              ^~~~~~
              print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:97:20: error: 'class HardwareSerial' has no member named 'printf'; did you mean 'print'?
             Serial.printf("Value: %s\n", val.c_str());
                    ^~~~~~
                    print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:101:7: error: 'tm' was not declared in this scope
       tm startTime;
       ^~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:102:55: error: 'startTime' was not declared in this scope
       strptime("2020-10-19 16:00:00", "%Y-%m-%d %T", &startTime);
                                                       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:102:55: note: suggested alternative: 'static'
       strptime("2020-10-19 16:00:00", "%Y-%m-%d %T", &startTime);
                                                       ^~~~~~~~~
                                                       static
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:102:7: error: 'strptime' was not declared in this scope
       strptime("2020-10-19 16:00:00", "%Y-%m-%d %T", &startTime);
       ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:102:7: note: suggested alternative: 'tmpfile'
       strptime("2020-10-19 16:00:00", "%Y-%m-%d %T", &startTime);
       ^~~~~~~~
       tmpfile
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:103:33: error: 'mktime' was not declared in this scope
       uint32_t startTimestamp = mktime(&startTime);
                                 ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:104:14: error: 'class HardwareSerial' has no member nam

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: FAIL

WARNING: library SMA_SunnyBoy_Reader claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:135:6: error: 'HTTPClient' does not name a type; did you mean 'DNSClient'?
      HTTPClient http;
      ^~~~~~~~~~
      DNSClient
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp: In member function 'bool SMAReader::postSMA(const char*, const char*, ArduinoJson6192_F1::DynamicJsonDocument&)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:8:5: error: 'http' was not declared in this scope
     http.useHTTP10(true);
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:15:18: error: 'HTTP_CODE_OK' was not declared in this scope
     if(httpCode!=HTTP_CODE_OK) {
                  ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:15:18: note: suggested alternative: 'PICO_OK'
     if(httpCode!=HTTP_CODE_OK) {
                  ^~~~~~~~~~~~
                  PICO_OK
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp: In member function 'bool SMAReader::getValues(int, const arduino::String*, arduino::String*)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:143:37: error: ambiguous overload for 'operator=' (operand types are 'arduino::String' and 'ArduinoJson6192_F1::enable_if<true, int>::type {aka int}')
               values[i]=val.as<int>();
                                     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/IPAddress.h:24:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/ArduinoAPI.h:30,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:27,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:13,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:98:11: note: candidate: arduino::String& arduino::String::operator=(const arduino::String&) <near match>
  String & operator = (const String &rhs);
           ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:98:11: note:   conversion of argument 1 would be ill-formed:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:143:37: error: conversion from 'ArduinoJson6192_F1::enable_if<true, int>::type {aka int}' to 'const arduino::String' is ambiguous
               values[i]=val.as<int>();
                                     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/IPAddress.h:24:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/ArduinoAPI.h:30,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:27,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:13,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:74:2: note: candidate: arduino::String::String(const arduino::__FlashStringHelper*) <near match>
  String(const __FlashStringHelper *str);
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:74:2: note:   conversion of argument 1 would be ill-formed:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:143:36: error: invalid conversion from 'ArduinoJson6192_F1::enable_if<true, int>::type {aka int}' to 'const arduino::__FlashStringHelper*' [-fpermissive]
               values[i]=val.as<int>();
                         ~~~~~~~~~~~^~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/IPAddress.h:24:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/ArduinoAPI.h:30,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:27,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:13,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:70:2: note: candidate: arduino::String::String(const char*) <near match>
  String(const char *cstr = "");
  ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:70:2: note:   conversion of argument 1 would be ill-formed:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:143:36: error: invalid conversion from 'ArduinoJson6192_F1::enable_if<true, int>::type {aka int}' to 'const char*' [-fpermissive]
               values[i]=val.as<int>();
                         ~~~~~~~~~~~^~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/IPAddress.h:24:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/ArduinoAPI.h:30,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:27,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:13,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:99:11: note: candidate: arduino::String& arduino::String::operator=(const char*) <near match>
  String & operator = (const char *cstr);
           ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:99:11: note:   conversion of argument 1 would be ill-formed:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:143:36: error: invalid conversion from 'ArduinoJson6192_F1::enable_if<true, int>::type {aka int}' to 'const char*' [-fpermissive]
               values[i]=val.as<int>();
                         ~~~~~~~~~~~^~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/IPAddress.h:24:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/ArduinoAPI.h:30,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:27,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:13,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:100:11: note: candidate: arduino::String& arduino::String::operator=(const arduino::__FlashStringHelper*) <near match>
  String & operator = (const __FlashStringHelper *str);
           ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:100:11: note:   conversion of argument 1 would be ill-formed:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:143:36: error: invalid conversion from 'ArduinoJson6192_F1::enable_if<true, int>::type {aka int}' to 'const arduino::__FlashStringHelper*' [-fpermissive]
               values[i]=val.as<int>();
                         ~~~~~~~~~~~^~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/IPAddress.h:24:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/ArduinoAPI.h:30,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:27,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:13,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/String.h:102:11: note: candidate: arduino::String& arduino::String::operator=(arduino::String&&) <near match>
  Stri

examples/SMAReader_Demo

Result: FAIL

WARNING: library SMA_SunnyBoy_Reader claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:20:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:135:6: error: 'HTTPClient' does not name a type; did you mean 'DNSClient'?
      HTTPClient http;
      ^~~~~~~~~~
      DNSClient
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino: In function 'int connectWifi(bool)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:47:5: error: 'WiFi' was not declared in this scope
     WiFi.reconnect();
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:49:5: error: 'WiFi' was not declared in this scope
     WiFi.mode(WIFI_STA);
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:49:15: error: 'WIFI_STA' was not declared in this scope
     WiFi.mode(WIFI_STA);
               ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:49:15: note: suggested alternative: 'I2C_SDA'
     WiFi.mode(WIFI_STA);
               ^~~~~~~~
               I2C_SDA
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class arduino::UART' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:53:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "%sonnecting to %s\n", firstConnect?"C":"Rec", WLANSSID);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:55:11: error: 'WiFi' was not declared in this scope
   while ((WiFi.status() != WL_CONNECTED) && (retryCount < 40)) {
           ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:55:28: error: 'WL_CONNECTED' was not declared in this scope
   while ((WiFi.status() != WL_CONNECTED) && (retryCount < 40)) {
                            ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class arduino::UART' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:57:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_MIN_INFO, ".");
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:60:15: error: 'WiFi' was not declared in this scope
   int success=WiFi.status();
               ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:61:15: error: 'WL_CONNECTED' was not declared in this scope
   if(success==WL_CONNECTED) {
               ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class arduino::UART' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:62:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_MIN_INFO, "WiFi connected\nIP address: %s\n", WiFi.localIP().toString().c_str());
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class arduino::UART' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:64:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_ERROR, "Failed to connect\n");
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class arduino::UART' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:66:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "Number of tries: %d\n", retryCount);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class arduino::UART' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:67:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "Connecting time (microseconds): %lu\n", micros()-startwifi);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:79:8: error: 'WiFi' was not declared in this scope
     if(WiFi.status() == WL_CONNECTED) {
        ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:79:25: error: 'WL_CONNECTED' was not declared in this scope
     if(WiFi.status() == WL_CONNECTED) {
                         ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:84:14: error: 'class arduino::UART' has no member named 'printf'; did you mean 'print'?
       Serial.printf("Getting values: %s\n", isSuccess?"success":"fail");
              ^~~~~~
              print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:87:20: error: 'class arduino::UART' has no member named 'printf'; did you mean 'print'?
             Serial.printf("Value: %d\n", val);
                    ^~~~~~
                    print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:94:14: error: 'class arduino::UART' has no member named 'printf'; did you mean 'print'?
       Serial.printf("Getting values: %s\n", isSuccess?"success":"fail");
              ^~~~~~
              print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:97:20: error: 'class arduino::UART' has no member named 'printf'; did you mean 'print'?
             Serial.printf("Value: %s\n", val.c_str());
                    ^~~~~~
                    print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:102:7: error: 'strptime' was not declared in this scope
       strptime("2020-10-19 16:00:00", "%Y-%m-%d %T", &startTime);
       ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:102:7: note: suggested alternative: 'strftime'
       strptime("2020-10-19 16:00:00", "%Y-%m-%d %T", &startTime);
       ^~~~~~~~
       strftime
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:104:14: error: 'class arduino::UART' has no member named 'printf'; did you mean 'print'?
       Serial.printf("Timestamp: %lu\n", startTimestamp);
              ^~~~~~
              print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:109:14: error: 'class arduino::UART' has no member named 'printf'; did you mean 'print'?
       Serial.printf("Logger: %s\n", numValues==-1?"fail":"success");
              ^~~~~~
              print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:111:16: error: 'class arduino::UART' has no member named 'printf'; did you mean 'print'?
         Serial.printf("Timestamp: %sTotal energy production: %lu Wh\n", asctime(localtime((time_t *)&timestamps[i])), values_log[i]);
                ^~~~~~
                print
Multiple libraries were found for "ArduinoJson.h"
  Used: /ho

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: FAIL

WARNING: library SMA_SunnyBoy_Reader claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:135:6: error: 'HTTPClient' does not name a type; did you mean 'DNSClient'?
      HTTPClient http;
      ^~~~~~~~~~
      DNSClient
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp: In member function 'bool SMAReader::postSMA(const char*, const char*, ArduinoJson6192_B1::DynamicJsonDocument&)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:8:5: error: 'http' was not declared in this scope
     http.useHTTP10(true);
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:15:18: error: 'HTTP_CODE_OK' was not declared in this scope
     if(httpCode!=HTTP_CODE_OK) {
                  ^~~~~~~~~~~~
Multiple libraries were found for "ArduinoJson.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ArduinoJson
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ThingESP
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CMMC_MQTT_Connector
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ThingsIoT
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Antares_ESP8266_MQTT
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CoogleIOT
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/BaleMessengerBot_Arduino
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/AllThingsTalk_LTE-M_SDK
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Antares_ESP8266_HTTP

examples/SMAReader_Demo

Result: FAIL

WARNING: library SMA_SunnyBoy_Reader claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:20:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:135:6: error: 'HTTPClient' does not name a type; did you mean 'DNSClient'?
      HTTPClient http;
      ^~~~~~~~~~
      DNSClient
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino: In function 'int connectWifi(bool)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:47:5: error: 'WiFi' was not declared in this scope
     WiFi.reconnect();
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:49:5: error: 'WiFi' was not declared in this scope
     WiFi.mode(WIFI_STA);
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:49:15: error: 'WIFI_STA' was not declared in this scope
     WiFi.mode(WIFI_STA);
               ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class UartClass' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:53:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "%sonnecting to %s\n", firstConnect?"C":"Rec", WLANSSID);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:55:11: error: 'WiFi' was not declared in this scope
   while ((WiFi.status() != WL_CONNECTED) && (retryCount < 40)) {
           ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:55:28: error: 'WL_CONNECTED' was not declared in this scope
   while ((WiFi.status() != WL_CONNECTED) && (retryCount < 40)) {
                            ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:55:28: note: suggested alternative: 'F_CPU_CORRECTED'
   while ((WiFi.status() != WL_CONNECTED) && (retryCount < 40)) {
                            ^~~~~~~~~~~~
                            F_CPU_CORRECTED
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class UartClass' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:57:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_MIN_INFO, ".");
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:60:15: error: 'WiFi' was not declared in this scope
   int success=WiFi.status();
               ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:61:15: error: 'WL_CONNECTED' was not declared in this scope
   if(success==WL_CONNECTED) {
               ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:61:15: note: suggested alternative: 'F_CPU_CORRECTED'
   if(success==WL_CONNECTED) {
               ^~~~~~~~~~~~
               F_CPU_CORRECTED
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class UartClass' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:62:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_MIN_INFO, "WiFi connected\nIP address: %s\n", WiFi.localIP().toString().c_str());
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class UartClass' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:64:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_ERROR, "Failed to connect\n");
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class UartClass' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:66:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "Number of tries: %d\n", retryCount);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class UartClass' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:67:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "Connecting time (microseconds): %lu\n", micros()-startwifi);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:79:8: error: 'WiFi' was not declared in this scope
     if(WiFi.status() == WL_CONNECTED) {
        ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:79:25: error: 'WL_CONNECTED' was not declared in this scope
     if(WiFi.status() == WL_CONNECTED) {
                         ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:79:25: note: suggested alternative: 'F_CPU_CORRECTED'
     if(WiFi.status() == WL_CONNECTED) {
                         ^~~~~~~~~~~~
                         F_CPU_CORRECTED
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:84:14: error: 'class UartClass' has no member named 'printf'; did you mean 'print'?
       Serial.printf("Getting values: %s\n", isSuccess?"success":"fail");
              ^~~~~~
              print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:87:20: error: 'class UartClass' has no member named 'printf'; did you mean 'print'?
             Serial.printf("Value: %d\n", val);
                    ^~~~~~
                    print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:94:14: error: 'class UartClass' has no member named 'printf'; did you mean 'print'?
       Serial.printf("Getting values: %s\n", isSuccess?"success":"fail");
              ^~~~~~
              print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:97:20: error: 'class UartClass' has no member named 'printf'; did you mean 'print'?
             Serial.printf("Value: %s\n", val.c_str());
                    ^~~~~~
                    print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:101:7: error: 'tm' was not declared in this scope
       tm startTime;
       ^~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:102:55: error: 'startTime' was not declared in this scope
       strptime("2020-10-19 16:00:00", "%Y-%m-%d %T", &startTime);
                                                       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:102:55: note: suggested alternative: 'static'
       strptime("2020-10-19 16:00:00", "%Y-%m-%d %T", &startTime);
                                                       ^~~~~~~~~
                                                       static
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:102:7: er

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: FAIL

WARNING: library SMA_SunnyBoy_Reader claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:135:6: error: 'HTTPClient' does not name a type; did you mean 'DNSClient'?
      HTTPClient http;
      ^~~~~~~~~~
      DNSClient
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp: In member function 'bool SMAReader::postSMA(const char*, const char*, ArduinoJson6192_F1::DynamicJsonDocument&)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:8:5: error: 'http' was not declared in this scope
     http.useHTTP10(true);
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.cpp:15:18: error: 'HTTP_CODE_OK' was not declared in this scope
     if(httpCode!=HTTP_CODE_OK) {
                  ^~~~~~~~~~~~
Multiple libraries were found for "ArduinoJson.h"
  Used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ArduinoJson
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Antares_ESP8266_HTTP
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CMMC_MQTT_Connector
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/BaleMessengerBot_Arduino
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CoogleIOT
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/AllThingsTalk_LTE-M_SDK
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Antares_ESP8266_MQTT
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ThingsIoT
  Not used: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ThingESP

examples/SMAReader_Demo

Result: FAIL

WARNING: library SMA_SunnyBoy_Reader claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:20:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/src/SMAReader.h:135:6: error: 'HTTPClient' does not name a type; did you mean 'DNSClient'?
      HTTPClient http;
      ^~~~~~~~~~
      DNSClient
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino: In function 'int connectWifi(bool)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:47:5: error: 'WiFi' was not declared in this scope
     WiFi.reconnect();
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:49:5: error: 'WiFi' was not declared in this scope
     WiFi.mode(WIFI_STA);
     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:49:15: error: 'WIFI_STA' was not declared in this scope
     WiFi.mode(WIFI_STA);
               ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class Serial_' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:53:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "%sonnecting to %s\n", firstConnect?"C":"Rec", WLANSSID);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:55:11: error: 'WiFi' was not declared in this scope
   while ((WiFi.status() != WL_CONNECTED) && (retryCount < 40)) {
           ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:55:28: error: 'WL_CONNECTED' was not declared in this scope
   while ((WiFi.status() != WL_CONNECTED) && (retryCount < 40)) {
                            ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:55:28: note: suggested alternative: 'UHD_STATE_CONNECTED'
   while ((WiFi.status() != WL_CONNECTED) && (retryCount < 40)) {
                            ^~~~~~~~~~~~
                            UHD_STATE_CONNECTED
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class Serial_' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:57:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_MIN_INFO, ".");
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:60:15: error: 'WiFi' was not declared in this scope
   int success=WiFi.status();
               ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:61:15: error: 'WL_CONNECTED' was not declared in this scope
   if(success==WL_CONNECTED) {
               ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:61:15: note: suggested alternative: 'UHD_STATE_CONNECTED'
   if(success==WL_CONNECTED) {
               ^~~~~~~~~~~~
               UHD_STATE_CONNECTED
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class Serial_' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:62:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_MIN_INFO, "WiFi connected\nIP address: %s\n", WiFi.localIP().toString().c_str());
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class Serial_' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:64:5: note: in expansion of macro 'DEBUG_OUT'
     DEBUG_OUT(DEBUG_ERROR, "Failed to connect\n");
     ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class Serial_' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:66:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "Number of tries: %d\n", retryCount);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:32:66: error: 'class Serial_' has no member named 'printf_P'; did you mean 'print'?
 #define DEBUG_OUT(level, fmt, ...) if(DEBUG_LEVEL>=level) Serial.printf_P( (PGM_P)PSTR(fmt), ## __VA_ARGS__ )
                                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:67:3: note: in expansion of macro 'DEBUG_OUT'
   DEBUG_OUT(DEBUG_MIN_INFO, "Connecting time (microseconds): %lu\n", micros()-startwifi);
   ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino: In function 'void loop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:79:8: error: 'WiFi' was not declared in this scope
     if(WiFi.status() == WL_CONNECTED) {
        ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:79:25: error: 'WL_CONNECTED' was not declared in this scope
     if(WiFi.status() == WL_CONNECTED) {
                         ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:79:25: note: suggested alternative: 'UHD_STATE_CONNECTED'
     if(WiFi.status() == WL_CONNECTED) {
                         ^~~~~~~~~~~~
                         UHD_STATE_CONNECTED
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:84:14: error: 'class Serial_' has no member named 'printf'; did you mean 'print'?
       Serial.printf("Getting values: %s\n", isSuccess?"success":"fail");
              ^~~~~~
              print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:87:20: error: 'class Serial_' has no member named 'printf'; did you mean 'print'?
             Serial.printf("Value: %d\n", val);
                    ^~~~~~
                    print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:94:14: error: 'class Serial_' has no member named 'printf'; did you mean 'print'?
       Serial.printf("Getting values: %s\n", isSuccess?"success":"fail");
              ^~~~~~
              print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:97:20: error: 'class Serial_' has no member named 'printf'; did you mean 'print'?
             Serial.printf("Value: %s\n", val.c_str());
                    ^~~~~~
                    print
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:101:10: error: aggregate 'tm startTime' has incomplete type and cannot be defined
       tm startTime;
          ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:102:7: error: 'strptime' was not declared in this scope
       strptime("2020-10-19 16:00:00", "%Y-%m-%d %T", &startTime);
       ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:102:7: note: suggested alternative: 'wcsftime'
       strptime("2020-10-19 16:00:00", "%Y-%m-%d %T", &startTime);
       ^~~~~~~~
       wcsftime
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SMA_SunnyBoy_Reader/examples/SMAReader_Demo/SMAReader_Demo.ino:103:33: error: 'mktime' was not declared in this scope
       uint32_t startTimestamp = mktime(&startTime);
  

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: PASS

WARNING: library SMA_SunnyBoy_Reader claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
Sketch uses 263226 bytes (20%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13696 bytes (4%) of dynamic memory, leaving 313984 bytes for local variables. Maximum is 327680 bytes.

examples/SMAReader_Demo

Result: PASS

WARNING: library SMA_SunnyBoy_Reader claims to run on esp8266 architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
Sketch uses 883882 bytes (67%) of program storage space. Maximum is 1310720 bytes.
Global variables use 39064 bytes (11%) of dynamic memory, leaving 288616 bytes for local variables. Maximum is 327680 bytes.