Moin,
I am lost between unfamiliar terminology and concepts that feel alien to me.
And the Docs are a bit - äh - sparse and terse.
I need a pointer to a step-by-step tutorial how to add a new device to homeassistant.
The device in question is currently a concept I have a simulation of.
It exposes a REsTful API to get and set values.
Lets for the sake of discussion pretend this to be a light: analog values with ranges (such as brightness in permille, color temperature on a limited-range Kelvin scale).
So I gather, I need a device in Homeassistant.
This device then needs to have sensor entities (to get the current values) and some other type of entity to set values?
I also seem to need scripts to be called for get and set operations.
These could be shell scripts using curl for the https layer.
I would prefer pythons requests module, but I will do with whatever works for now.
I run Homeassistant in a VM created by a helper script
I also tried to install the software on a Debian machine, but when I tried to configure anything there, all instructions were pointing to features unavailable in that edition.
In an earlier iteration of my question, I was pointed to a Template Light.
Just loading this template into the template editor in the “Entwicklerwerkzeuge” section of the Web Gui throws errors.
For me, the documentaitn does not tie the dicerse concepts together: what does the Jinja-template represent? A Gui tile?
How does it link to the entities of a device?
Is there a tutorial out there, showing how to add the yaml-config toaccess an (so far) unsupported device?
I am a bit familiar with python (10 years developing), Jinja2 (well, beginner level, I usually use cherrypy and hardcoded html), C, html and such (68k, AVR and Arm-Thumb Assembler, realtime programming, microcontrollers, electronics, pcb design and -manufacturing; take a guess at my profession…)
Homeassistant concepts are documented, but I can not see the data flow in the system etc.
And having a locked-down installation without shell access does not help.
merci
hase