Page 3 of 6

Re: Monitoring and controlling - HOYMILES microinverters

Posted: Wed Oct 04, 2023 2:36 pm
by RonS
Hello everyone,
I leave no stone unturned, so I tested the whole thing with a ESP32S3 on my VGA display and everything worked perfectly-at least that's from my last question
now.. is either the ESP32 defective or something else - I'll look into it
DSCN0580.JPG
I think I'll try to rewrite the code for a VGA display

Re: Monitoring and controlling - HOYMILES microinverters

Posted: Wed Oct 04, 2023 3:15 pm
by cicciocb
One of the reason can be the free ram available.
Check the real RAM available with the command WLOG ramfree(1) or restart the module and then check the WLOG WGET$("....) alone

Re: Monitoring and controlling - HOYMILES microinverters

Posted: Wed Oct 04, 2023 6:02 pm
by cicciocb
I cannot reproduce your problem, the WGET$ works well for me on an esp32 with latest version

Re: Monitoring and controlling - HOYMILES microinverters

Posted: Thu Oct 05, 2023 5:20 am
by RonS
Ok, then the module must have a defect - can you please delete the last 10 posts here?

thank you
Ron

Re: Monitoring and controlling - HOYMILES microinverters

Posted: Thu Oct 05, 2023 5:50 am
by cicciocb
I don't think that is the module. What kind of model is?
The best should be to try with another esp32

Re: Monitoring and controlling - HOYMILES microinverters

Posted: Thu Oct 05, 2023 7:01 am
by RonS
this
https://www.az-delivery.de/products/esp ... r-soldered
together with
https://www.az-delivery.de/products/az- ... -und-esp32

there were also the problems with the "touch" function - do you remember ? - It doesn't work now either, although it probably works for all others - must be due to the module

Re: Monitoring and controlling - HOYMILES microinverters

Posted: Sun Oct 15, 2023 6:37 pm
by Helmut_number_one
@Ron
I have tested with Tasmota 4-Relais with wlog

Code: [Local Link Removed for Guests]

wlog WGET$("http://192.168.0.22/cm?cmnd=Power2%20TOGGLE")
And result is
{"POWER2":"ON"}
{"POWER2":"OFF"}
{"POWER2":"ON"}
{"POWER2":"OFF"}
Best regards Helmut

Re: Monitoring and controlling - HOYMILES microinverters

Posted: Sun Oct 15, 2023 10:05 pm
by RonS
ok Helmut and thank you ,

all my problems were really caused by defective ESP modules, I have now decided on the "shellyEM" and it runs so far except for the last step - to send the singnal to the microinverter - I'm afraid to destroy something - but that's still to come... :D
But it's good to know that this is also possible with Tasmota

Ron

Re: Monitoring and controlling - HOYMILES microinverters

Posted: Wed Oct 18, 2023 10:49 am
by Helmut_number_one
Bei so einem ähnlichem Projekt möchte ich gerne Json Daten zB 230,34567890 als Zahl mit nur einer Kommastelle haben.
Ich habe mich damit versucht, gibt nur Fehlermeldungen....
Hat jemand einen Tipp?
JSON bekomme ich aus OpenDTU per JSON

For a similar project, I would like to have Json data,
for example 230.34567890 as a number with only one decimal place.
I tried this, but it only gives me error messages...
Does anyone have a example?

Code: [Local Link Removed for Guests]

'Vorlage aus Help
'example from help, my a is a json$...
'a = 12,34567890

'Print STR$(a, "%2.4f") ' gibt 12.3456 aus

WLOG STR$((json$(a$, "Voltage.v")),%2.2f) ' das geht nicht ,don't run

'Orginal:
Daten$ = Daten$ + "Spannung "+ json$(a$, "Voltage.v")+" Volt "

Re: Monitoring and controlling - HOYMILES microinverters

Posted: Wed Oct 18, 2023 12:56 pm
by PeterN
Hi Helmut
I'm not entirely sure, but since JSON$ returns a string, this might be helpful:

WLOG STR$(val(json$(a$, "Voltage.v")),"%2.1f") ' das wird hoffentlich funktionieren ;-)