These things depend on a FRITZ!Box as bridge - so you will always find the FB in your setup.
The binding - as it currently is - depends on an enabled telnet within the fritzbox for the switching parts.
I've forked and prepared a client lib I would use for the port.
--
You received this message because you are subscribed to the Google Groups "openhab2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab2+u...@googlegroups.com.
To post to this group, send email to open...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab2/dee8ff88-0127-4088-ba92-cf1f72dafbc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Robert,These things depend on a FRITZ!Box as bridge - so you will always find the FB in your setup.Not for the 546E, which can be used standalone. But it runs a kind of downstripped FritzOS, so possibly it supports TR064 as well?
Are A1 and A2 treated identical (same instance), equal (two instances but getting the same events) or different (two instances, different events) ?
The binding - as it currently is - depends on an enabled telnet within the fritzbox for the switching parts.Are you aware of the recent pull request https://github.com/openhab/openhab/pull/2494?
Do I understand you right that the HA features are also accessible through TR064?In general, I think it is a good idea to merge these functionality into one binding - so that a FritzBox only turns up as one device and not as multiple.
I've forked and prepared a client lib I would use for the port.I read that TR046 is based on UPnP. Would it make sense to use the existing upnp services within openHAB 2 for this (e.g. discovery, upnp actions etc.)?Your library currently includes all dependencies in the jar. If you want to use it, it should be OSGiyfied as most of its dependencies are already available as bundles in openHAB - so no need to duplicate them.
Best regards,Kai
If so - what is the expected behaviour of OH2/ESH in case of:
- Devices (=Things) A1 and A2 are physically identical
- A Bridge B is discovered via UPnP
- A1 is discovered via B (ESH Discovery)
- A2 is discovered via UPnP
Are A1 and A2 treated identical (same instance), equal (two instances but getting the same events) or different (two instances, different events) ?
I think the only feasible solution is to treat them as two different devices. As one is accessed through a bridge, it will anyhow have a different UID (as the bridge id is part of it) and technically we cannot tell whether it is the same physical device or not. In general I think this is anyhow a very rare situation.
If this situation turns up within a single binding (as it is the case here) then you might decide yourself what makes most sense for this device, e.g. you could say that you only allow UPnP discovery for 546E and do not list it when you find it on a Fritz!Box. But I am not sure if this would be valid or if users might want to always access it through the Fritz!Box…
But if there is a single device that offers different functionality through different communication channels (like the Fritz!Box through TR-064, telnet and the call-monitor-port), then it is definitely a good idea to combine this into a single binding and not have 3 of them :-)
Best regards,Kai