sanair
(sathyanarayanan A)
March 16, 2020, 6:45am
1
Hi ,
I wanted to interface a sensor to raspberry with the help of openhab.
The point is to fetch the sensor data by a c program for some calculations.
Is there any openhab api/sdk that could be leveraged from the custom c-program to fetch the sensor data.
opus
(Jürgen Baginski)
March 16, 2020, 6:57am
2
Welcome to the openHAB forum
If you can run it from the command-line on the system running openHAB try using the exec binding in order to run the c programme from within openHAB. Mind that it should be runable for the user openHAB!
kbecker
(Karsten Becker)
March 16, 2020, 7:30am
3
I am not quite sure which way you want to communicate, but you could use the REST API to interact with Openhab.
1 Like
system
(system)
Closed
April 26, 2020, 11:42pm
4
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.