FHEM Client
If you want a very simple client for your FHEM installation which reads some values and outputs them in a formatted way, this is for you. Basically this is how it works:
- Checkout this project to your computer (or just copy
main.py
andconfig-template.ini
). - Copy
config-template.ini
toconfig.ini
and edit it so it contains your FHEM login data, the requests you want the script to make and the formatted output containing the values. - Call
main.py
with at least Python 3.2 installed.
Example
When using the formatted output from config-template.ini
, this is what the script could print
(given FHEM has the configured devices and parameters):
Temperature: 23.5 °C
Humidity: 47 %
config.ini
Notes regarding the output configured in - If you want a single percent sign (
%
), you have to write a double percent sign (%%
). - If you want multiline output, you have to indent the second to the last line by 4 spaces each.