I would like to use the wifi motion sensor by mystrom. There is currently no support for this PIR sensor with the mystrom integration.
So far I have found a very well-documented description of the REST API on their website specifically for retrieving all entity states of this device: https://api.mystrom.ch/#95d8103e-db16-4383-b141-8e93afef0bbd
With the information I found I managed to get the sensor values with a python script (read from json values).
Now, how can I make use of this from within home assistant?
Goal: The idea is to have a motion sensor device which can be used for automations e.g. after 5 min of no motion -> turn off lights
Even better would be adding it to the mystrom integration.
REST API
All myStrom devices offer a REST API (REST = representational State Transfer).
The interface allows you to access/control the device directly from your local network independently of myStrom. That means you don’t need a myStrom account or the myStrom app.
With this documentation you can integrate myStrom devices in almost any en...