Open xmeslin opened 5 months ago
Hello The IPX doesn't return the state of the digital in 4. Can you send the result of the api please
You need that ?
http://192.168.0.39/api/xdevices.json?key=apikey&Get=All
{ "product": "IPX800_V4", "status": "Success", "A1": 0, "A2": 0, "A3": 0, "A4": 0 }
I got that also sometimes: { "product": "IPX800_V4", "status": "Success", "A1": 0, "A2": 0, "A3": 0, "status": "Error" }
It's really weird, you should have the state of all input/output, you just have Analog In Can you try to update/reboot the ipx ?
I already did. However it works. I means I have the state correctly reported to HA (after teh configure timer) when the state change on IPX. just sometimes I have unavailable in the state
Not sure it is related but I'm struggling with the push from ipx to HA to change state "real time". I'll tshoot that later
It's not related to push The IPX800 doesn't return all entities state everytime, there is a problem with it, you should open a ticket to GCE
actually I now have all state. it is all and not All in api call. It seems to be case sensitive http://192.168.0.39/api/xdevices.json?key=apikey&Get=all
yes indeed how many times between 2 update? do you query the ipx from jeedom in the same time (or an other tool)
I have 5s between 2 updates. I have jeedom but I desactivated the device to be sure it doesn't conflict and still not unavailable. when I manual try the api I have time to time:
{ "product": "IPX800_V4", "status": "Success", "D1": 0, "D2": 1, "D3": 0, "D4": 1, "D5": 0, "D6": 0, "D7": 0, "D8": 1, "D9": 0, "D10": 0, "D11": 0, "D12": 0, "D13": 0, "D14": 0, "D15": 0, "D16": 0, "D17": 0, "D18": 0, "D19": 0, "D20": 0, "D21": 0, "D22": 0, "D23": 0, "D24": 0, "D25": 0, "D26": 0, "D27": 0, "D28": 0, "D29": 0, "D30": 0, "D31": 0, "D32": 0, "D33": 0, "D34": 0, "D35": 0, "D36": 0, "D37": 0, "D38": 0, "D39": 0, "D40": 0, "D41": 0, "D42": 0, "D43": 0, "D44": 0, "status": "Error" } and sometime very rarely I have non digital information even if I asked for D. definitely the IPX800 API is not rock solid
yes but if you query your ipx too much, sometimes it returns partial answer
Hi there,
I had the same problem when querying the IPX too often. To get around this, I implement "bulk update" to get the states of my IPX entities in "real time" as soon as they change on the IPX and without having to query the IPX.
It works great with Relay, DigitalIn, VirtualDigitalIn and VirtualDigitalOut (successfully tested) but I think it should work with the rest, including AnalogIn (but I couldn't test).
See the PR #50 for more information
Best
Hello,
I have the last version: Describe the bug it seems to work but for some reasons I have plenty of error in my log. In option I have : Enable newly added entities. : DISABLE Enable polling for updates : ENABLE
Configuration
Debug logs