Page 1 of 1

Generic HTTP or SendtoHTTP

Posted: 06 Jan 2022, 19:26
by LeC3pu
Hello the community !!
Sorry in advance for my english translated with google ^^
I would have wanted by means of HTTP get request to retrieve various values and put it on a dummy device but with the generic HTTP controller I don't know how to do it and with the rules it didn't work too much ...

The first values that I would like to recover ...
https://duco.sytes.net/ducostats.json

Link for API documentation
https://duco.sytes.net/api.html

And for other values ...
https://server.duinocoin.com/users/LeC3pu01

Link for API documentation
https://github.com/revoxhere/duino-coin ... eful-tools

Could you tell me if it's possible and if so give me an example, thank you in advance !!

Re: Generic HTTP or SendtoHTTP

Posted: 07 Jan 2022, 16:15
by chromo23
viewtopic.php?f=2&t=8500

I had a similar question.
There is as far as i know nothing you can do right now apart from asking @Ath if he found some time. ;)

Re: Generic HTTP or SendtoHTTP

Posted: 07 Jan 2022, 17:10
by Ath
chromo23 wrote: 07 Jan 2022, 16:15 viewtopic.php?f=2&t=8500

I had a similar question.
There is as far as i know nothing you can do right now apart from asking @Ath if he found some time. ;)
Well, I didn't find the time to implement something like mentioned in that topic, sorry. Haven't spent any time on it yet.

An alternative could be to try and make/get that data available via MQTT, so it can then be sent to an ESP unit,
or use a Raspberry Pi to retrieve and massage the data, and send that to an ESP unit.
This last option I use myself to retrieve data from my solar inverter and send the numbers to both Domoticz and a couple of ESP's for displaying on an OLED display and for data retrieved from the solar cloud-provider that is to be displayed (as a graph) on a TFT display connected to an ESP.

Re: Generic HTTP or SendtoHTTP

Posted: 13 Jan 2022, 17:36
by LeC3pu
Sorry for the delay in reply.
Thank you very much to both of you for your replies!
I will try to follow your leads! While waiting to see your @Ath plugins! ;)