Open main menu
Home
How to do
Din rail devices
Box devices
Sensors
Multiroom
Applicatin
XML
Additional info
Log in
Settings
Larnitech wiki page
Search
Changes
← Older edit
Newer edit →
Troubleshooting unsorted
(view source)
Revision as of 15:31, 8 February 2022
8 bytes added
,
15:31, 8 February 2022
m
no edit summary
Line 56:
Line 56:
==How to add http-API2 converter==
==How to add http-API2 converter==
−
Create folder /home/html/api_v2.
+
#
Create folder /home/html/api_v2.
−
Put the file (index.php) into the folder.
+
#
Put the file (index.php) into the folder.
−
Enable API in LTsetup
+
#
Enable API in LTsetup
−
Request example: http://192.168.67.154/api_v2/?{"request":"status-get","addr":"395:14","API-KEY":"08283242722612433"}
+
#
Request example: http://192.168.67.154/api_v2/?{"request":"status-get","addr":"395:14","API-KEY":"08283242722612433"}
−
<div class="mw-collapsible mw-collapsed" style="width:
400px
">
+
<div class="mw-collapsible mw-collapsed" style="width:
800px
">
'''index.php'''
'''index.php'''
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
Support
editor,
Interface administrators
,
Administrators
, translation-admin, translator
9,750
edits