I’ve made major changes in the way Analog and Counter values are refreshed and also a lot of code cleansing. Can you try this version ?
Changes :
some channel names have been modified in order to be ready for PR integration in the distribution. So you may have to update your items definitions / links with channels
pollPeriod is now defined at thing level, not on Counter or Analog configuration. The polling is done globally and not indivually.
Also, regarding your graph, is the persistance definition the same between http and gce items ?
Also, regarding your graph, is the persistance definition the same between http and gce items ?
Yes, I put all the items in a Group and I put the group in persistance!
Example (situation in this moment):
Hi @glhopital
Thanks again for your work for ipx800!
i just update my ipx800 to firmware 3.05.62 (send status is on) and i use your GCE 2.5.9 binding
When i switch an output from the ipx800 it did not “inform” the openhab, so it stay closed even if i switch it on
is it normal ?
do i have to configure something?
for the moment it seems that from openhab to IPX800 works
In this period I’m concentrate to test Analog channels (that works very well), but in a quick test I have a problem!
OUTPUT
Command from OH to IPX800 --> nothing happens
Change status on IPX800 --> OK (sometimes with delay)
INPUT
Change status on IPX800 --> OK (sometimes with delay)
Happy new year !!
For information, another strange behaviour on my openhab install when there is power outage (only have ups for openhab but not for my IPX800) → The binding seem to lost communication with the IPX800 but it never restore it.after
I have multiple example and the only solution is to restart openhab.
Here is some error in the log file :
2020-12-29 10:12:05.158 [ERROR] [ersey.server.ServerRuntime$Responder] - An I/O error has occurred while writing a response message entity to the container output stream.
org.glassfish.jersey.server.internal.process.MappableException: org.eclipse.jetty.io.EofException
Happy new year!!
I’m not a network protocol expert, but I think it is due to TCP protocol…
Probably “openhab side” there is no auto-refresh of the connection, and you must restart openHAB runtime or restart the binding.
I think it is better if you report this problem on github as glhopital asked…
… or put the alimentation of the IPX800 under UPS
Sorry if this is not the good place, as I’m new to OH and GCE binding.
First of all, thanks for the great work, as my setup relies very much on IPX800 boxes, and the OH+GCE binding combo seems very promising for powering it.
Hence I have made a fresh install of OH3 and the version of GCE binding that comes with it, and I am having the same refresh issue : when IPX outputs are changed outside of OH, their state are not reflected in OH. Did you eventually solve the problem in OH 2 ? Am I missing some configuration work ?
I’d be happy to help in any way with the binding (as long as it doesn’t involve coding, which sadly I’m far from being capable of ).