Page 1 of 1

Error with ecocompteur legrand

Posted: Thursday 19 December 2024 19:19
by SUDF
Hi all, i have an issue ecocompteur legrand that seems not working.
i m using the windows version 2024.7 and in the log there is this error: Error getting 'inst.json' from url : http://10.0.0.*
the access via the browser is working, thanks for your support.

Re: Error with ecocompteur legrand

Posted: Thursday 19 December 2024 22:21
by waltervl
What hardware gateway are you using? Python Plugin? Script?

Edit: seems to be an integrated hardware gateway.

Did it ever work before is it the first time you are using it?
You did the browser action from the Domoticz server?
Are the Domoticz server and the device in the same network?
IP adress url : http://10.0.0.* is correct?

Re: Error with ecocompteur legrand

Posted: Saturday 21 December 2024 0:24
by SUDF
Hi, no gateway the ecocompteur have an rj45 connexion with an internal IIS serveur that give access to an http web page.
the hardware is working but it's the first tilme that i installed domoticz.domoticz on windows is generating an ip 127.0.xxx and my hardware is on my local network 10.0.xxx
when i use chrome and cal the http://10.0.0.XX/inst.json i have the good reply but domoticz htat have this hardware in his compatible device should be able to call him directly and it's the call that i can see in the log but with error.
jus to add that i have added 127.0.0.*;10.0.0.* in the security setting

Re: Error with ecocompteur legrand

Posted: Saturday 21 December 2024 11:05
by waltervl
If you ssh in or start a terminal session on the Domoticz server and run the following command, do you get a proper response?

Code: Select all

curl -H "Accept: application/json" -X GET http://10.0.0.XX/inst.json

Re: Error with ecocompteur legrand

Posted: Wednesday 25 December 2024 16:14
by SUDF
Hi and happy Christmas,
it take time to reply but after one or two minutes i recdeived the good response

{
"data1":1841.000000,
"data2":12.000000,
"data3":2694.000000,
"data4":168.000000,
"data5":0.000000,
"data6":0.000000,
"data6m3":0.000000,
"data7":0.000000,
"data7m3":0.000000,
"heure":16,
"minute":12,
"CIR1_Nrj":0.000000,
"CIR1_Vol":0.000000,
"CIR2_Nrj":0.000000,
"CIR2_Vol":0.000000,
"CIR3_Nrj":0.000000,
"CIR3_Vol":0.000000,
"CIR4_Nrj":0.000000,
"CIR4_Vol":0.000000,
"Date_Time":1735143177
}

Re: Error with ecocompteur legrand

Posted: Friday 27 December 2024 1:19
by waltervl
One or 2 minutes is way too long for a device to react.
So Domoticz thinks it is not there and gives an error.

Try to find out why it takes so long time to answer.