Extra Raspberry PI GPIO's as device
Moderator: leecollings
-
- Posts: 80
- Joined: Sunday 29 November 2015 14:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.9700
- Location: Halle, the Netherlands
- Contact:
Extra Raspberry PI GPIO's as device
Can I use a extra Rasperry Pi (not the Domoticz server) as a device? I want to use a Raspberry Pi with Wifi dongle and a 16 channel relais board connected to the GPIO. I want to control the relais with a Lua script.
- ycahome
- Posts: 248
- Joined: Sunday 12 February 2017 10:55
- Target OS: Linux
- Domoticz version: lat Beta
- Contact:
Re: Extra Raspberry PI GPIO's as device
Duplicate post: viewtopic.php?f=28&t=16880
you can delete one of the two from edit page
Why you don't build a second domoticz and connect it to your existing as a "remote server"?
you can delete one of the two from edit page
Why you don't build a second domoticz and connect it to your existing as a "remote server"?
--------
https://www.youtube.com/siakavelisgr
https://www.youtube.com/siakavelisgr
-
- Posts: 80
- Joined: Sunday 29 November 2015 14:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.9700
- Location: Halle, the Netherlands
- Contact:
Re: Extra Raspberry PI GPIO's as device
Hello ycahome,
Thanks for the tip.
Today I build a second Raspberry Pi with Domoticz and prepared the Slave and the Master with the username and password. In the Slave I made a device for one of the GPIO ports. On the slave I can control that GPIO port.
Unfortunately I don’t see the Slave in the Master. The Wiki says that both systems must have the same software version. My Master is V3.4834 and my Slave is V3.5877. So, in fact I need to update my Master. When I go to Setup>Check for Updates he says ‘no update available’ That is strange.
I must say that every time I want to add or change something to the Domoticz system it is a struggle through the Wiki and the different topics on the Forum. Many times I find the answer somewhere else on the Internet. So, I am going to search for an answer. Maybe you have the solution for me.
Kind regards,
Rob
Thanks for the tip.
Today I build a second Raspberry Pi with Domoticz and prepared the Slave and the Master with the username and password. In the Slave I made a device for one of the GPIO ports. On the slave I can control that GPIO port.
Unfortunately I don’t see the Slave in the Master. The Wiki says that both systems must have the same software version. My Master is V3.4834 and my Slave is V3.5877. So, in fact I need to update my Master. When I go to Setup>Check for Updates he says ‘no update available’ That is strange.
I must say that every time I want to add or change something to the Domoticz system it is a struggle through the Wiki and the different topics on the Forum. Many times I find the answer somewhere else on the Internet. So, I am going to search for an answer. Maybe you have the solution for me.
Kind regards,
Rob
- ycahome
- Posts: 248
- Joined: Sunday 12 February 2017 10:55
- Target OS: Linux
- Domoticz version: lat Beta
- Contact:
Re: Extra Raspberry PI GPIO's as device
Here are some tips:
1.make sure that on "settings" you are following the same type of updates. "Beta" or "stable"
2.you can try to update from ssh. Inside domoticz folder there is an update script
3.in order remote devices to be created to the master, "allow new hardware" should be pressed.
4.some dummy devices cannot be replicated in the current "stable" version. Am currently using latest beta for this reason.
5. Devices to-be-replicated should be enabled on the selected user.Note the button far right on the username row.
Let me know if this is helpful to you......
1.make sure that on "settings" you are following the same type of updates. "Beta" or "stable"
2.you can try to update from ssh. Inside domoticz folder there is an update script
3.in order remote devices to be created to the master, "allow new hardware" should be pressed.
4.some dummy devices cannot be replicated in the current "stable" version. Am currently using latest beta for this reason.
5. Devices to-be-replicated should be enabled on the selected user.Note the button far right on the username row.
Let me know if this is helpful to you......
--------
https://www.youtube.com/siakavelisgr
https://www.youtube.com/siakavelisgr
-
- Posts: 80
- Joined: Sunday 29 November 2015 14:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.9700
- Location: Halle, the Netherlands
- Contact:
Re: Extra Raspberry PI GPIO's as device
Hello Ycahome,
After three installations is succeeded. I have no idea what went wrong the first two times. But it works, even with different versions of Domoticz on the master and the slave.
Thanks,
Rob
After three installations is succeeded. I have no idea what went wrong the first two times. But it works, even with different versions of Domoticz on the master and the slave.
Thanks,
Rob
-
- Posts: 64
- Joined: Tuesday 16 October 2018 23:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: Belgium
- Contact:
Re: Extra Raspberry PI GPIO's as device
Is this still the preferred way to get different raspberry pi's in Domoticz ?
I believe there is now the pigpio library
on the command line I can run
for a different raspberry on my network.
Is there a way to integrate this in Domoticz ?
I believe there is now the pigpio library
on the command line I can run
Code: Select all
PIGPIO_ADDR=10.0.1.28 pigs hwver
Is there a way to integrate this in Domoticz ?
Code: Select all
PIGPIO_ADDR=10.0.1.28 pigs MG 21
PIGPIO_ADDR=10.0.1.28 pigs r 21
Who is online
Users browsing this forum: No registered users and 0 guests