Digital inputs best solution?
Posted: Sunday 30 August 2015 12:58
I like to use multiple (mainly wired) digital signals inside domoticz and I'm searching for the best reliable sollution...?
(signals like door sensors, doorbel, glas break sensor, rain sensor, state of my washing machine and so on)
What is your solution? how fast is the response on an input and how reliable is the system?
I have tried a couple of sullutions but nothing seems to work very reliable.
What I tried so far are:
- Fibaro Z-wave universal binaire sensor
I have 3, but all of them have issues over time, stopping reporting totally or only for the Di's but not for the temperature signals
the failing mechanism is not the same all the time, sometimes a power cycles solves the issue and sometimes I need to exclude and include the sensor again
so this is a nogo
viewtopic.php?f=24&t=7421
- Piface digital 2
this worked fine on a Pi B+ but I did not get it working on a Pi2 so far
on the Pi B+ it only works when I don't run lua scripts during startup... I can delete them at startup and copy them back once domoticz is up and running
you can run up to 32 inputs with 4 boards that work fine, this can work on a Pi B+ and I still have 2 boards ....but it's not the best way to run it..
viewtopic.php?f=6&t=7750
- arduino uno
Currently the arduino can not be directly monitored from domoticz, you need to set up a gateway and having a wired sensor going into one board, transmitted to a board 2cm away and transfered through a gateway on a second arduino.... it seems a bit overdone and secondly sensitive for RF issues and that's why I have wired most of my sensors
I have been checking how to read the inputs throuhg a serial monitor and use python to control virtual switches, but this will take more time than I like to spend on this
There must be an easier way!
- GPIO with wiringpi
inputs are not always read inside domoticz while gpio from command line does read the inputs correctly
adding a script that reads the inputs and toggels swtiches can be used but that will be to slow for signals like a doorbel that is only triggered for a second
I already electrically debounced the inputs and isolated them with optocouplers to get rid of noise picked up by some unshielded cables... but if there is no interupt to domoticz the solution is to slow
viewtopic.php?f=32&t=6074
- Haibrain TWM4 (X10 protoicol 4 Di's)
This is not a potential free system, the switches are toggle using 220V, so I need to add an additional relay to switch the inputs
Since I have wired my lighting using X10 devices I have the interface available, but it is a costly solution and not very fast responding, so not prefered
for now I only use this to control lights that cannot be directly wired from that location (like garden lights from the inside)
- Kaku
I have tried this, but the protocal is not shielded at all, so don't want to use this for wired signals
only open I still have and want to try is inputs through onwire protocol, but don't know how well this is supported in domoticz
(signals like door sensors, doorbel, glas break sensor, rain sensor, state of my washing machine and so on)
What is your solution? how fast is the response on an input and how reliable is the system?
I have tried a couple of sullutions but nothing seems to work very reliable.
What I tried so far are:
- Fibaro Z-wave universal binaire sensor
I have 3, but all of them have issues over time, stopping reporting totally or only for the Di's but not for the temperature signals
the failing mechanism is not the same all the time, sometimes a power cycles solves the issue and sometimes I need to exclude and include the sensor again
so this is a nogo
viewtopic.php?f=24&t=7421
- Piface digital 2
this worked fine on a Pi B+ but I did not get it working on a Pi2 so far
on the Pi B+ it only works when I don't run lua scripts during startup... I can delete them at startup and copy them back once domoticz is up and running
you can run up to 32 inputs with 4 boards that work fine, this can work on a Pi B+ and I still have 2 boards ....but it's not the best way to run it..
viewtopic.php?f=6&t=7750
- arduino uno
Currently the arduino can not be directly monitored from domoticz, you need to set up a gateway and having a wired sensor going into one board, transmitted to a board 2cm away and transfered through a gateway on a second arduino.... it seems a bit overdone and secondly sensitive for RF issues and that's why I have wired most of my sensors
I have been checking how to read the inputs throuhg a serial monitor and use python to control virtual switches, but this will take more time than I like to spend on this
There must be an easier way!
- GPIO with wiringpi
inputs are not always read inside domoticz while gpio from command line does read the inputs correctly
adding a script that reads the inputs and toggels swtiches can be used but that will be to slow for signals like a doorbel that is only triggered for a second
I already electrically debounced the inputs and isolated them with optocouplers to get rid of noise picked up by some unshielded cables... but if there is no interupt to domoticz the solution is to slow
viewtopic.php?f=32&t=6074
- Haibrain TWM4 (X10 protoicol 4 Di's)
This is not a potential free system, the switches are toggle using 220V, so I need to add an additional relay to switch the inputs
Since I have wired my lighting using X10 devices I have the interface available, but it is a costly solution and not very fast responding, so not prefered
for now I only use this to control lights that cannot be directly wired from that location (like garden lights from the inside)
- Kaku
I have tried this, but the protocal is not shielded at all, so don't want to use this for wired signals
only open I still have and want to try is inputs through onwire protocol, but don't know how well this is supported in domoticz