jantenhove / P1-Meter-ESP8266

Software for the ESP8266 that sends P1 smart meter data to Domoticz (with CRC checking)
GNU General Public License v3.0
80 stars 38 forks source link

Multiple errors in sketch compile #2

Closed onsmam closed 8 years ago

onsmam commented 8 years ago

Hi,

Thanx for this great code many thanx.. whem i'm trying to compile it i get this errors:

P1Meter.ino: In function 'bool SendToDomo(int, int, char*)': P1Meter:107: error: 'HTTP_CODE_OK' was not declared in this scope P1Meter:114: error: 'class HTTPClient' has no member named 'errorToString'

don't know how to solve this.

thanx in advance

onsmam commented 8 years ago

i think the line 107 the variable http_code_ok needs to be declared with some value.. 200?

line 114 is a simple serial print so probably i could just delete the line....

jantenhove commented 8 years ago

You need to install the ESP8266 for Arduino as mentioned in the readme. This contains the ESP specific HTTP library.

onsmam commented 8 years ago

did it already still same faults, reinstalled still faults..

installed staging version 2.1 rc2 that worked...

jantenhove commented 8 years ago

Thanks for the feedback!