rossko57
(Rossko57)
September 2, 2019, 7:58pm
22
zar1978:
trigger=true
You’ve still got this in your things.
So far as I know, it does not work in binding 2.4
Maybe it stops other things working properly in 2.4
But perhaps you have binding 2.5 after all?
If it is working as it should, when you choose to trigger an event you do not get a state update .
So, you need to find out what binding version you are using.
Then you can choose whether to use event trigger
or
state updates.
zar1978
(Ivan)
September 3, 2019, 7:52am
23
rossko57:
But perhaps you have binding 2.5 after all?
If it is working as it should, when you choose to trigger an event you do not get a state update .
So, you need to find out what binding version you are using.
Then you can choose whether to use event trigger
or
state updates.
These are the bindings I’ve installed
Even deleting trigger = true does not work.
vzorglub:
Post the log, please
Need all the log? or a specific part?
vzorglub
(Vincent Regaud)
September 3, 2019, 7:54am
24
zar1978:
or a specific part?
From when the item is updated
Both logs, please
zar1978
(Ivan)
September 3, 2019, 8:10am
25
At this time the sensor is disconnected. I’ll put the logs containing the mqtt string anyway. As soon as possible I connect the sensor and send you a more complete log.
Thanks
rossko57
(Rossko57)
September 3, 2019, 9:16am
26
But you still see the trigger events? Then your changes have not yet taken effect. You might need to reboot to re-read your things files.
zar1978
(Ivan)
September 3, 2019, 5:33pm
27
I reactivated the sensor, eliminated the trigger option from THINGS and set INFO log level, I restarted the openhab service. Now works!:
==> /var/log/openhab2/events.log <==
2019-09-03 19:32:09.699 [vent.ItemStateChangedEvent] - openwebnet_bus_energy_central_unit_F454_0003509f217c_CENTRAL_energy_power changed from 98 to 102
2019-09-03 19:32:09.705 [vent.ItemStateChangedEvent] - iCENTRAL_en_power changed from 98 to 102
==> /var/log/openhab2/openhab.log <==
2019-09-03 19:32:19.752 [INFO ] [ipse.smarthome.model.script.pir.rule] - TEST MESSAGGIO
2019-09-03 19:32:30.672 [INFO ] [org.openwebnet.OpenGatewayBus$a ] - MON RECEIVED <<<<<<<<<<< *#18*521*113*100##
2019-09-03 19:32:30.676 [DEBUG] [bnet.handler.OpenWebNetBridgeHandler] - ==OWN== ownId=18.521
2019-09-03 19:32:30.685 [DEBUG] [bnet.handler.OpenWebNetEnergyHandler] - ==OWN:EnergyHandler== updateActivePower() for thing: openwebnet:bus_energy_central_unit:F454_0003509f217c:CENTRAL_energy
==> /var/log/openhab2/events.log <==
2019-09-03 19:32:30.697 [vent.ItemStateChangedEvent] - openwebnet_bus_energy_central_unit_F454_0003509f217c_CENTRAL_energy_power changed from 102 to 100
2019-09-03 19:32:30.702 [vent.ItemStateChangedEvent] - iCENTRAL_en_power changed from 102 to 100
2019-09-03 19:32:32.924 [vent.ItemStateChangedEvent] - Sun_Azimuth changed from 281.6537938780093 ° to 281.8136754871525 °
2019-09-03 19:32:32.933 [vent.ItemStateChangedEvent] - Sun_Elevation changed from -2.1674749589773934 ° to -2.3570708754933185 °
2019-09-03 19:32:33.159 [vent.ItemStateChangedEvent] - Moon_Azimuth changed from 227.23339641018129 ° to 227.44753124701805 °
2019-09-03 19:32:33.164 [vent.ItemStateChangedEvent] - Moon_Elevation changed from 25.816046676186996 ° to 25.675185966958338 °
2019-09-03 19:32:35.685 [vent.ItemStateChangedEvent] - ntp_ntp_local_dateTime changed from 2019-09-03T19:31:35.625+0200 to 2019-09-03T19:32:35.628+0200
2019-09-03 19:32:35.691 [vent.ItemStateChangedEvent] - ntp_ntp_local_string changed from 2019-09-03 19:31:35 CEST to 2019-09-03 19:32:35 CEST
2019-09-03 19:32:35.762 [vent.ItemStateChangedEvent] - iSysdate changed from 2019-09-03T19:31:35.747+0200 to 2019-09-03T19:32:35.750+0200
==> /var/log/openhab2/openhab.log <==
2019-09-03 19:32:39.070 [INFO ] [ipse.smarthome.model.script.pir.rule] - TEST MESSAGGIO
Thank you all for the support!
vzorglub
(Vincent Regaud)
September 3, 2019, 6:48pm
28
Please tick the solution mark on the most relevant post, thanks
rossko57
(Rossko57)
September 3, 2019, 7:19pm
29
None of that seems to have anything to do with the switches you were showing us, but so long as you’re happy.