Hi. First thanks to all the developper of this platform. Fantastic job.
I’m a newbie here and I have a small the Presence Simulation binding. It seems that he never catch event to write in the calendar.
Here is what I see in the logs :
EVENT file
2018-03-08 21:11:05.326 [ome.event.ItemCommandEvent] - Item ‘LIGHT_SAMMur’ received command OFF
2018-03-08 21:11:05.388 [vent.ItemStateChangedEvent] - LIGHT_SAMMur changed from ON to OFF
openhab.log
2018-03-08 21:10:52.310 [TRACE] [gcal.internal.GCalPersistenceService] - going to upload 0 calendar entries to Google now …
2018-03-08 21:11:02.309 [TRACE] [gcal.internal.GCalPersistenceService] - going to upload 0 calendar entries to Google now …
2018-03-08 21:11:12.310 [TRACE] [gcal.internal.GCalPersistenceService] - going to upload 0 calendar entries to Google now …
2018-03-08 21:11:22.310 [TRACE] [gcal.internal.GCalPersistenceService] - going to upload 0 calendar entries to Google now …
2018-03-08 21:11:32.309 [TRACE] [gcal.internal.GCalPersistenceService] - going to upload 0 calendar entries to Google now …
2018-03-08 21:11:42.310 [TRACE] [gcal.internal.GCalPersistenceService] - going to upload 0 calendar entries to Google now …
I don’t see your definition of the G_PresenceSimulation group in your item definitions. Not sure if you just didn’t include it in the post, or if it really doesn’t exist.
When the state of the item changes, at TRACE log level you would expect to see something like this in your log.
2018-03-12 08:19:37.284 [TRACE] [gcal.internal.GCalPersistenceService] - added new entry '[PresenceSimulation] PD300Z_Dimmer' for item 'PD300Z_Dimmer' to upload queue
2018-03-12 08:19:41.070 [TRACE] [gcal.internal.GCalPersistenceService] - going to upload 1 calendar entries to Google now ...
2018-03-12 08:19:41.466 [DEBUG] [gcal.internal.GCalPersistenceService] - succesfully created new calendar event (title='[PresenceSimulation] PD300Z_Dimmer', date='{"dateTime":"2018-03-17T08:19:37.000-04:00"}', content='send PD300Z_Dimmer 60') in 395ms
Since you are not seeing that when your item LIGHT_SAMMur changes state, then the binding must not be seeing the change. I’m not sure why that would be the case, because your items and gcal.persist look ok.
I just try with other persistence (JDBC), but seems that I have the same problem. I will try with items not coming from KNX to see if this is not the problem.
I assume you’ve tried a restart of OH. Occasionally I’ve seen the group-item relationship not correct after making multiple edits to the group and/or items.
Also, Is gcal working correctly for you (i.e. is it properly executing calendar entries that you create manually in your Google calendar)?
Yes. OH is reading and doing the action. It’s just the writing that never pass.
I will check this on the Karaf tonight.
All help is more than welcome. As newbie, there is so much to learn.