I want to design a telemetry and electronic security system with the Beaglebone Black
I will connect sensors to measure: temperature , voltage, humidity, etc to the analog inputs of the BBB, and magnetic contacts, infrared sensors , etc to the digital inputs
I am going to develop scripts in phyton to calculate the parameters of the sensors connected to the BBB inputs.
In your python code after you calculated the sensor value and converted to temperature value, you can then push that value to the domoticz platform. Create a virtual sensor inside domotics and use that id
Yes it works.
ssh sudo nano /etc/init.d/domoticz.sh
In domoticz add new hardware and select “Generic sysfs GPIO” as the type.
To use P8_46 as output put the below code into the last line of domoticz.sh file…
echo out >/sys/class/gpio/gpio71/direction
echo 0 >/sys/class/gpio/gpio71/active_low
echo 0 > /sys/class/gpio/gpio71/value
If you use active low relays then use below code…
echo out >/sys/class/gpio/gpio71/direction
echo 1 >/sys/class/gpio/gpio71/active_low
echo 1 > /sys/class/gpio/gpio71/value