Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.28 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.28 KB

Lametric-Backend

  1. Put the fhem.php somewhere on your webserver with php support (must be same host as fhem).

  2. Access fhem.php one time via webserver https/example.com/fhem.php it will create the file auth.php on your webserver to place login data

  3. Set user and password for your local fhem installation inside the auth.php

  4. Set personal security key inside the aurh.php

  5. Download and configure fhem app to your lametric time

Note:

Sample setup inside the app:

Url: http://www.sample.de or https://www.sample.de or https://www.sample.de/path_to_script_folder
Port: optional for servers running on custom ports
Name: Announce text of the app
Device: Your fhem device to get readings from
Icon: Icon to display with announce text (default is i8919 when left empty)
Seckey: Your custom string which must be same inside auth.php to get a result from script

Reading 1-5: readings to pick from fhem device
Iocns: Icons can now be set inside fhem. If reading is "myreading" than icon is tried to get from "myreading_iocn"!

Have fun!

NOTE: Users of first versions have to update there fhem.php to newest version and check auth.php! The update is done for later easy update to only replace fhem.php without reinsert login data etc.