Skip to content

Niggelgame/co2-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes during development

https://github.com/Lomray-Software/homebridge-co2-level#readme

./volumes/homebridge/config.json

{
    "accessories": [
        {
            "accessory": "co2-level",
            "name": "co2-spuele",
            "axiosConfig": {
                "url": "http://localhost:8000/last",
                "method": "GET",
                "timeout": 3000
            },
            "valuePath": "data.value",
            "calculate": "none",
            "interval": 20,
            "threshold": 1000
        }
    ]
}

chmod +x start.sh

Put co2.service to /lib/systemd/system/

sudo systemctl daemon-reload 
sudo systemctl enable co2.service 
sudo systemctl start co2.service 
# Info
sudo systemctl status co2.service 

Raspi OS lite 32 bit

https://docs.docker.com/engine/install/raspberry-pi-os/

--> ssh-copy-id -i pi@

-> create DB sqlite3 co2sensor.db "VACUUM;"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages