Hello,
As promised, I tried the binding this evening.
I used the Binding for OpenHAB 2.3. I tested the autodiscover for MR401 and MR400.
Results:
After loading the binding:
==> /var/log/openhab2/openhab.log <==
2018-10-16 09:56:45.579 [ERROR] [very.EntertainTVDiscoveryParticipant] - EntertainTV: Unable to create thing: null
2018-10-16 09:56:45.595 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘entertaintv:receiver:c1026e4c-e7fd-5393-a2f3-AC6FBB5C6A01’ to inbox.
==> /var/log/openhab2/events.log <==
2018-10-16 09:56:45.598 [home.event.InboxAddedEvent] - Discovery Result with UID ‘entertaintv:receiver:c1026e4c-e7fd-5393-a2f3-AC6FBB5C6A01’ has been added.
==> /var/log/openhab2/openhab.log <==
2018-10-16 09:56:45.603 [ERROR] [very.EntertainTVDiscoveryParticipant] - EntertainTV: Unable to create thing: null
==> /var/log/openhab2/events.log <==
2018-10-16 09:56:45.642 [home.event.InboxAddedEvent] - Discovery Result with UID ‘entertaintv:receiver:bb5e21ce-2222-11b2-f918-AC6FBB2F1EC4’ has been added.
==> /var/log/openhab2/openhab.log <==
2018-10-16 09:56:45.639 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘entertaintv:receiver:bb5e21ce-2222-11b2-f918-AC6FBB2F1EC4’ to inbox.
2018-10-16 09:56:45.848 [INFO ] [tv.internal.EntertainTVNotifyServlet] - EntertainTV servlet started at ‘/entertaintv/notify’
That worked so far
Then I started to add the thing of the MR401 (not yet saved), in the logfile it appeared:
2018-10-16 09:58:03.080 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: entertaintv:playStatus
2018-10-16 09:58:17.253 [WARN ] [re.thing.internal.ThingFactoryHelper] - Could not create channel ‘playStatus’ for thing type ‘entertaintv:receiver:c1026e4c-e7fd-5393-a2f3-AC6FBB5C6A01’, because channel type ‘entertaintv:playStatus’ could not be found.
==> /var/log/openhab2/events.log <==
2018-10-16 09:58:17.291 [me.event.InboxRemovedEvent] - Discovery Result with UID ‘entertaintv:receiver:c1026e4c-e7fd-5393-a2f3-AC6FBB5C6A01’ has been removed.
2018-10-16 09:58:17.313 [hingStatusInfoChangedEvent] - ‘entertaintv:receiver:c1026e4c-e7fd-5393-a2f3-AC6FBB5C6A01’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING)
==> /var/log/openhab2/openhab.log <==
2018-10-16 09:58:21.164 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: entertaintv:playStatus
This worked so far, until the missing channel “playStatus”.
The receiver model was detected automatically (MR401B).
Then the thing was saved:
==> /var/log/openhab2/events.log <==
2018-10-16 09:59:14.414 [hingStatusInfoChangedEvent] - ‘entertaintv:receiver:c1026e4c-e7fd-5393-a2f3-AC6FBB5C6A01’ changed from UNINITIALIZED (HANDLER_CONFIGURATION_PENDING) to UNINITIALIZED (HANDLER_MISSING_ERROR)
2018-10-16 09:59:14.441 [hingStatusInfoChangedEvent] - ‘entertaintv:receiver:c1026e4c-e7fd-5393-a2f3-AC6FBB5C6A01’ changed from UNINITIALIZED (HANDLER_CONFIGURATION_PENDING) to INITIALIZING
2018-10-16 09:59:14.576 [me.event.ThingUpdatedEvent] - Thing ‘entertaintv:receiver:c1026e4c-e7fd-5393-a2f3-AC6FBB5C6A01’ has been updated.
==> /var/log/openhab2/openhab.log <==
2018-10-16 09:59:15.087 [INFO ] [ertaintv.internal.EntertainTVControl] - EntertainTVControl: Send Pairing Request (firendlyName=‘PAD:OPENHAB_OH2’, deviceID=‘26A5F0FD7A02C93E07CFC428C499D182’, userID=‘’)
==> /var/log/openhab2/events.log <==
2018-10-16 09:59:15.252 [hingStatusInfoChangedEvent] - ‘entertaintv:receiver:c1026e4c-e7fd-5393-a2f3-AC6FBB5C6A01’ changed from INITIALIZING to ONLINE
2018-10-16 09:59:15.275 [me.event.ThingUpdatedEvent] - Thing ‘entertaintv:receiver:c1026e4c-e7fd-5393-a2f3-AC6FBB5C6A01’ has been updated.
==> /var/log/openhab2/openhab.log <==
2018-10-16 09:59:16.816 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: entertaintv:playStatus
The thing was successfully go online, but the control did not work (UserID was not yet entered), it`s okay on this time.
Now the MR400
Add the thing of the MR400 (not yet saved), in the logfile it appeared:
==> /var/log/openhab2/events.log <==
2018-10-16 10:11:02.628 [me.event.InboxRemovedEvent] - Discovery Result with UID ‘entertaintv:receiver:bb5e21ce-2222-11b2-f918-AC6FBB2F1EC4’ has been removed.
2018-10-16 10:11:02.640 [hingStatusInfoChangedEvent] - ‘entertaintv:receiver:bb5e21ce-2222-11b2-f918-AC6FBB2F1EC4’ changed from UNINITIALIZED to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING)
==> /var/log/openhab2/openhab.log <==
2018-10-16 10:11:06.173 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: entertaintv:playStatus
The receiver model was not found automatically, the field remained empty. It was manually set to MR400.
After saving the thing:
==> /var/log/openhab2/events.log <==
2018-10-16 10:12:14.301 [hingStatusInfoChangedEvent] - ‘entertaintv:receiver:bb5e21ce-2222-11b2-f918-AC6FBB2F1EC4’ changed from UNINITIALIZED (HANDLER_CONFIGURATION_PENDING) to UNINITIALIZED (HANDLER_MISSING_ERROR)
2018-10-16 10:12:14.311 [hingStatusInfoChangedEvent] - ‘entertaintv:receiver:bb5e21ce-2222-11b2-f918-AC6FBB2F1EC4’ changed from UNINITIALIZED (HANDLER_CONFIGURATION_PENDING) to INITIALIZING
==> /var/log/openhab2/openhab.log <==
2018-10-16 10:12:14.362 [ERROR] [tertaintv.handler.EntertainTVHandler] - EntertainTV: Device initialisation failed: Unable to initialize thing: Error sending HTTP GET http:// 192.168.9.147:49153/xml/dial.xmlfailed: http:// 192.168.9.147:49153/xml/dial.xml
==> /var/log/openhab2/events.log <==
2018-10-16 10:12:14.384 [hingStatusInfoChangedEvent] - ‘entertaintv:receiver:bb5e21ce-2222-11b2-f918-AC6FBB2F1EC4’ changed from INITIALIZING to OFFLINE (COMMUNICATION_ERROR): Unable to initialize thing: Error sending HTTP GET http:// 192.168.9.147:49153/xml/dial.xmlfailed: http:// 192.168.9.147:49153/xml/dial.xml
2018-10-16 10:12:14.396 [me.event.ThingUpdatedEvent] - Thing ‘entertaintv:receiver:bb5e21ce-2222-11b2-f918-AC6FBB2F1EC4’ has been updated.
==> /var/log/openhab2/openhab.log <==
2018-10-16 10:12:16.690 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: entertaintv:playStatus
This was not successful, the thing remains in OFFLINE status (Error sending HTTP GET)
I will now continue with the MR401 and try to determine the top of my UserID with the script.
If I should test something with the MR400, let me know.
But I currently have only one OpenHAB 2.3 installation to test and no 2.4.