xsherlock Geschrieben December 26, 2015 at 11:10 Geschrieben December 26, 2015 at 11:10 Ok this question might be very ignorant, but how do you setup multiple masterbricks in the openhab? My house will have 7 separate master bricks (one per room to control the light switches, blinds and provide temp readout) all of them with Eternet POE extensions so they will have separate IP's how do I setup them in the openhab.cfg? What is the suntax for the second masterbrick? first is defined as: tinkerforge:hosts=172.16.2.156 And the second? Zitieren
theo Geschrieben December 26, 2015 at 22:06 Geschrieben December 26, 2015 at 22:06 Hi xsherlock, just add your brickd/master brick configurations space separated to the tinkerforge:hosts line: tinkerforge:hosts=127.0.0.1:4224 192.168.1.50 192.168.1.104 This is an example copied from the openHAB wiki docs: https://github.com/openhab/openhab/wiki/Tinkerforge-Binding#example-configurations Regards, Theo Zitieren
xsherlock Geschrieben December 27, 2015 at 04:41 Autor Geschrieben December 27, 2015 at 04:41 Ok that is brutally simple. But can you tell me how openhab knows that particular "XYZ" bricklet is behind given IP address. Does it use multicast to communicate or it is using pooling on the setup phase to determine that? Maciej Zitieren
theo Geschrieben January 8, 2016 at 20:02 Geschrieben January 8, 2016 at 20:02 The binding opens an ipconnection to each configured brickd address and has a virtual device model for the bookkeeping. Zitieren
xsherlock Geschrieben January 13, 2016 at 12:59 Autor Geschrieben January 13, 2016 at 12:59 OK, that is smart. I still however have a bit of the problem setting up a second IO16, First is configured as in the examples tinkerforge:io16.uid=w1j tinkerforge:io16.type=bricklet_io16 tinkerforge:io16.debouncePeriod=100 tinkerforge:io16ina0.uid=w1j tinkerforge:io16ina0.subid=ina0 tinkerforge:io16ina0.type=iosensor How do I add the second one? Like that? tinkerforge:io16_second.uid=xxx tinkerforge:io16_second.type=bricklet_io16 tinkerforge:io16_second.debouncePeriod=100 tinkerforge:io16ina0_second.uid=xxx tinkerforge:io16ina0_second.subid=ina0 tinkerforge:io16ina0_second.type=iosensor Zitieren
theo Geschrieben January 13, 2016 at 17:34 Geschrieben January 13, 2016 at 17:34 Looks good to me. Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.