Is it possible to use the Beaglebone Black with the Domoticz platform?

Hello

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.

To monitor these parameters I would like to use the domoticz platform.
https://www.domoticz.com/

On the domoticz forum they suggested this to me

"If the beaglebone OS supports the standard SYSFS GPIO method Domoticz should be able to communicate with it. GPIO - Domoticz"

Could you tell me if it is feasible for the BBB to connect to the domoticz platform?

Best regards

Don’t know enough about domoticz, but it does build on BBB.

Thanks for your reponse

sysfs only works with digital pins.

https://www.domoticz.com/wiki/Domoticz_API/JSON_URL’s

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