mandulaj / PZEM-004T-v30

Arduino library for the Updated PZEM-004T v3.0 Power and Energy meter
MIT License
259 stars 109 forks source link

Library #9

Closed pmoser56 closed 4 years ago

pmoser56 commented 4 years ago

Thanks a lot for your library. It works really well. What does not work is the usage of "NAN" in the SoftwareSerial example. I replaced it with "isnan" and then it works really well so far. I created a 3-phase circuit with an esp8266 with 3 SoftwareSerial interfaces and mqtt readout. Thanks a lot for your work.

mandulaj commented 4 years ago

It looks like SoftwareSerial is not as hardware independent as I thought. I am considering rewriting it anyways. Thanks!

mandulaj commented 4 years ago

Yeah I had a second look and now I see the problem. I will change this, thanks for pointing it out.

frthecrow commented 4 years ago

Hellow Have you try it with Mysensors. I have a probleme with this code. Could you help me ?

Watmetre_Mysensors_2019-10-04.zip

thanks

mandulaj commented 4 years ago

Hellow Have you try it with Mysensors. I have a probleme with this code. Could you help me ?

Watmetre_Mysensors_2019-10-04.zip

thanks

Hi, could you please specify more details regarding your problem? Are you not getting the right values? No values at all? Errors? Does it not compile? I can't compile your code as there are some files missing... You can paste the results from your console and then I can help you but like this, there are way too many variables that could be the cause of your issue... cheers!

frthecrow commented 4 years ago

Hello Ok With an other computer.

Excuse me thanks

ruimiguelsa commented 4 years ago

Thanks a lot for your library. It works really well. What does not work is the usage of "NAN" in the SoftwareSerial example. I replaced it with "isnan" and then it works really well so far. I created a 3-phase circuit with an esp8266 with 3 SoftwareSerial interfaces and mqtt readout. Thanks a lot for your work.

Hello, Can you post your code? Thanks in advance.

mandulaj commented 4 years ago

I think now this issue is resolved in #14