Finally figured out how stuff should work.
Updated python script yesterday. Now there are 3 modes:
- Batch - just put list of ruuvitag MACs and measurements from each are returned separated by :
- Measurements from single ruuvitag, values are separated by :
- Single measurement of single ruuvitag, define temp/pressure/humidity and only single value is returned
Added also configuration help to github for homeassistant. You need to get all the data with single command line execution in order to keep homeassistant environment happy. So you’ll add one sensor that includes all of the values and create a template which separates all the value to separate sensors.
Don’t mind the readings, they are accurate only after 15:00 today when all started finally working well.
Disclaimer: there might be issues with homeassistant web ui. Probably full reboot of raspberry due to power outage might have something to do with it. Or then not. Don’t know.