raspi as a sensor
-
Hello,
I am thinkinh of a gas sensor based on ocr readings, but the question afterward is how to have the raspi behave as a node ?
-
Interesting, It would be once to have the ability to attach an RPi device to a vera attached gateway.
-
@BulldogLowell @hek is just a relaying node be enough ?
-
I don't quite get the question here.
-
@hek I plan to have values sent from a raspi claiming to be a gas meter.
my question is how to achieve this, as a gatewy ? as a sensor reading serial port ?
-
@epierre said:
I am thinking of a gas sensor based on ocr readings, but the question afterward is how to have the raspi behave as a node ?
and:
I plan to have values sent from a raspi claiming to be a gas meter.
So the raspi does calculate the gas level and you like to send that to the MySensor gateway?
If so, why not take an Arduino with radio, get the script for the normal gas sensor and change that script not to read the values from the normal gas sensor but via some kind of interface from the raspi.
-
yes this is my idea but I'm undure about having the raspi writing to serial port ?
-
@epierre said:
yes this is my idea but I'm unsure about having the raspi writing to serial port ?
I think on RPI, you can just do a echo "Message" > /dev/ttyAMA0.
See also Serial port programming.
Suggested Topics
-
Welcome
Announcements • • hek