Good evening everyone;
(I'm using google translator)
I have a problem extracting data from a json array
this is the string:
{"PM1OBJ1":{"U_AC":["fl_43793333","fl_43796667","fl_4379999A"]}}
I can extract all the data but I only need one.
being of fixed length, at the moment I solved it using the "segment text" block but it doesn't seem like an elegant solution.
can you help me please?
I attach the current blocks
I declared up front that I am a beginner despite my 70 years, I try to learn as I can and I accept all advice.
However, for the moment it works and with time I will try to improve it.
Thanks again
I'm back;
I have a new problem on the same project,
Since yesterday the inverter manufacturer decided to change the url from http to https, it no longer works, not even after I changed the url.
I tried with postman and it correctly returns the requested data in json format
Why?
I attach some simple test blocks that previously worked perfectly
Thanks @Taifun for the reply.
I solved it by using an esp8266 board whose libraries support the https:// connection and I retransmit the acquired data to the AI2 APP via MQTT, the result is that the AI2 APP is simpler and the POST REQUESTs are halved.
a curiosity:
but wouldn't it be more intuitive to insert a jsondecode into the dictionary instead of having to use the WEB component?