Simple (DEMO) check_mk smartthings ehs temperatureMeasurementCheck
- MIM-H04EN/DA-SAC-WIFIKIT-000001 with Subsystem Eco Heating System (EHS) / SAC_EHS_MONO (Quiet WP)
- bash
- curl
- jq
See https://docs.checkmk.com/latest/en/localchecks.html#folders
chmod +x smartthings_ehs.sh
./smartthings_ehs.sh $bearerToken $deviceId
See https://account.smartthings.com/tokens
See https://developer.smartthings.com/docs/api/public/#tag/Devices/operation/getDevices
RAW Edition
Example
version: '3.3'
services:
check-mk-raw:
ports:
- 8722:5000
tmpfs: /opt/omd/sites/cmk/tmp:uid=1000,gid=1000
volumes:
- /volume1/docker/checkmk/sites:/omd/sites
- /volume1/docker/checkmk/check_mk_agent:/usr/lib/check_mk_agent:ro
- /volume1/docker/checkmk/smartthings.conf:/etc/smartthings.conf:ro
- /etc/localtime:/etc/localtime:ro
container_name: checkmk
restart: always
image: checkmk/check-mk-raw:latest
getDevicesStatus