SENSBLUE ATLAS/Home Assistant: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 93: | Line 93: | ||
</syntaxhighlight>If <code>apt-get update</code> returns a 404 error for the Docker repository, temporarily use the bookworm line for the Docker repository and repeat the update/installation. | </syntaxhighlight>If <code>apt-get update</code> returns a 404 error for the Docker repository, temporarily use the bookworm line for the Docker repository and repeat the update/installation. | ||
Example alternative line:<syntaxhighlight lang="bash"> | Example alternative line:<syntaxhighlight lang="bash">deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable</syntaxhighlight> | ||
deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable | |||
</syntaxhighlight> | |||
=== 4. Create the Home Assistant project === | === 4. Create the Home Assistant project === | ||
| Line 463: | Line 461: | ||
mosquitto_sub -h 127.0.0.1 -t 'digitalInputs/runtime/out' -v | mosquitto_sub -h 127.0.0.1 -t 'digitalInputs/runtime/out' -v | ||
mosquitto_sub -h 127.0.0.1 -t 'digitalOutputs/runtime/out' -v | mosquitto_sub -h 127.0.0.1 -t 'digitalOutputs/runtime/out' -v | ||
</syntaxhighlight>Send a test to a digital output: | </syntaxhighlight>Send a test to a digital output:<syntaxhighlight lang="bash"> | ||
mosquitto_pub -h 127.0.0.1 -t 'digitalOutputs/runtime/in' -m '{"id":0,"origin":"TEST","task":{"action":"SET","taskParams":{"DO1":{"state":"high"}}}}' | |||
</syntaxhighlight> | |||
=== 13. Daily operation === | === 13. Daily operation === | ||