sarnau / Inside-The-Loxone-Miniserver

Inside The Loxone Miniserver – various documentation about the Loxone Link/Tree protocol and hardware
201 stars 54 forks source link

Emulate Tree Device on real tree extension #3

Closed challo2018 closed 5 years ago

challo2018 commented 5 years ago

Hello Markus, sorry for asking again, but i'm still trying to get your code running. Is it possible to emulate an single tree device (eg. tree motion sensor) and connect SM32 CAN to tree bus to get the emulated sensor running with real tree extension. In your example, the emulated tree device is running together with emulated tree extension.

Thanks, BR Fabian

sarnau commented 5 years ago

Yes, you can do a Tree Device only, just emulate that one without Tree Extension.

challo2018 commented 5 years ago

Thanks for your quick reply. So simply: devices.append(LoxBusTreeAlarmSiren(canbus, 0xbb008012))

sarnau commented 5 years ago

I think that will do. Just make sure to not add any other LoxLink devices, that will mess up the CAN bus behind the Tree Extension.

challo2018 commented 5 years ago

good point! I'll check if it's working. Thanks!!

chrisrock1984 commented 3 years ago

Thanks for your quick reply. So simply: devices.append(LoxBusTreeAlarmSiren(canbus, 0xbb008012))

Hi,

I also tried Tree only device using -> static LoxBusTreeRgbwDimmer gLoxBusTreeRgbwDimmer(gLoxCANDriver, 0xb010035c, gResetReason);

but the device is not recognized by the miniserver