Interesting that you have the cameras linked back through loxone on their mpeg stream. I'll give that a go!
I'd like to use the camera's 'trigger' as a motion sensor but haven't got the time to fiddle at the moment. Anyone else achieved this?
I have mine on an NVR and plugged into the NVR as it does PoE, so they all exist on their own subnet. I think I mentioned on my last post I bridged the two networks with a lead, this is not needed as the NVR makes the cameras accessible via its IP and a port for each camera.
Anyway, as you have your cameras on the main network, can you connect to them with VLC with a machine on your network?
On each camera you need to log onto and change the substream to mjpeg and create a user on the camera that has live view permissions.
To test the feed you should be able to put the below URL in a web bowser (or VLC player, but prefix the ipaddress with username:password@)
You then add a User Defined Intecom with a URL for that mjepg feed. On my camera, that was http://ipaddress/Streaming/channels/102/httppreview, you then add the username/password as defined.
NOTE: the camera can only support one connection like this. Therefore, if you have the stream open in VLC and try to connect to it via Loxone, it will not work.
To get the streams to work from the Internet you need to add firewall rules for each camera (a different port for each) and add that URL:port to the external url setting in loxone for the intercom.
On the ports, I think that is the webport, but you can trial that.
@David - much appreciate your detailed response. I had openhab on an old pi but perhaps its time to upgrade the pi and use home assistant to provide the interactions loxone doesn't. I did consider using camera triggers instead of a pir but doubt they'll be as reliable. It's crazy that cameras are cheaper than pirs!
Cheers all
http://my.dyn.dns.hostname:40001/Streaming/channels/102/httppreview