Good afternoon, tell me how you can combine multiple Raspberry Pi with Pimatic.
I need to manage remote 80-100 meters RaspberryPI (gpio) network.
-
Managing multiple Raspberry gpio
-
@Віталій-Лимар said:
I need to manage remote 80-100 meters RaspberryPI (gpio) net
There are several options to realize remote GPIO access, but this is nothing which is currently supported pimatic. I am currently working on a plugin to integrate JohnnyFive into pimatic. As part of this it will be possible to control and networked Arduinos (via Etherport) and networked Raspberries (using Firmata.js and VirtualSerialPort). See the following paper for info: http://iceddev.com/blog/remotebots-cutting-the-cord-with-remote-io/ I am planning to release the plugin in January, possibly an early release in December.
If you can’t wait another option is to install pimatic on the all raspberries with the device attached locally. Then you choose one pimatic host as being the master and add virtual device which will access the remote device using the REST-API provided by the pimatic slave hosts. See ShellSensor, ShellPresenceSensor and ShellSwitch at https://github.com/pimatic/pimatic-shell-execute for example. This is not GPIO access, but you can remotely monitor&control the devices of another Pimatic instance.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Thank you for your reply, I will wait for your plugin. I’m still thinking whether it is possible using USB converter is RS485,
like this http://i00.i.aliimg.com/wsphoto/v0/1359972380/Free-Shipping-5pcs-lot-font-b-USB-b-font-to-font-b-RS485-b-font-485.jpg
connect to each other Raspberry, and work with as / dev / ttyUSB0 devices using a plugin, or there is? How this will reliably whenever possible. -
@Віталій-Лимар said:
and work with as / dev / ttyUSB0 devices using a plugin, or there is? How this will reliably whenever possible.
I think it is generally possible, but I have no experience with such a setting. For sure, you’ll need a USB-RS485 adapters with assignable bus address (typically via DIP switches) - I am not sure the ‘cheap from China’ ones support this.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law