A little product review here, but It’s because I think the product can make it easier for FarmOS users to integrate sensor data.
Got my Ruuvi-tag’s today.
My intention is to monitor temperature and humitidy in my pig barn. 6 rooms. One sensor pr room. @Farmer-Ed made me aware of these, and I just had to try them. Many use cases for these sensors.
Everything is open source and I plan on feeding the sensor data to FarmOS.
The black Ruuvi tag is more robust than the white.
So far I’m very impressed with the simplicity of setting this up. I just unpacked a sensor, and pulled out the plastic strip protecting the battery. Then I tapped add sensor on the Ruuvi mobile app.
And that’s that. Sensor data started to materialize in the app.
Then I powered up the gateway and connected my laptop to it’s wifi. Super simple setup in the browser, and the sensor was reachable from the Ruuvi cloud. It even checked for the latest firmware.
I know the gateway can redirect where it post it’s data. But not sure if FarmOS can take it directly.
Propably need some tinkering… Maybe custom firmware, but I hope not. (I’m propably lost then…)
We’ll see
I know the gateway can redirect where it post it’s data. But not sure if FarmOS can take it directly.
Yea so farmOS sensor/data streams will open up endpoints that data can be posted to, but it expects a specific format. If you create a sensor asset, you’ll see a “Developer information” box when you’re viewing it with examples.
So… depending on what the data looks like coming out of your sensor, you may need to pre-process it before relaying it to farmOS. Maybe this could happen via Node Red?
Or… the other option is to build a new module in farmOS specifically for this type of sensor, which expects data in the same format. Maybe you can convince the makers of these sensors to sponsor that work.
I haven’t even ordered mine yet.
I don’t plan on using their gateway, I’ll probably use ESP32’s as Bluetooth proxies for HA.
I don’t believe you will need any custom firmware, it is my understanding that the gateway you got can relay sensor data via MQTT which means that Node-Red will be ideal to process the sensor data for farmOS. (you may need to setup an MQTT broker)
Another BLE Tag worth looking at, with a different selection of on board sensors and IO pins to add custom. Not necessarily an alternative, but potentially complementary for different tasks.
Wonder, if they would work with your gateway. (they are both open source, so should be possible even if a little tweaking is needed) Shouldn’t be an issue with my planned ESP32/RPi gateways.
Just in case anyone else is following this or will in future, myself and @pat have started some Node-Red experimenting with RuuviTags and found they deliver sensor data in HEX value which needs some decoding.
Yes, as long as you don’t need accelerometers, but Ruuvi integration is new so hopefully they’ll be added. If not I Might have a look at Github and maybe open a PR to add them myself, but will finish the Node-Red flow for now.