-
-
Notifications
You must be signed in to change notification settings - Fork 24
Device Saving Structure
Christian Weiske edited this page Dec 9, 2021
·
6 revisions
You can add devices with their Internet address in the app.
If you want to edit the raw JSON string, you have to create the string as follows:
{
"devices": {
"randomdeviceid": {
"name": "New Device",
"address": "http://127.0.0.1/",
"mode": "Normal",
"icon": "Phone"
}
}
}
This will generate a device with the name New Device
and the address http://127.0.0.1/
. Please note that the properties mode
and icon
are case-sensitive. The ID is used internally and can be chosen freely.
Supported values for icon
:
Lamp
Laptop
Phone
Raspberry Pi
Router
Speaker
Stack
Tablet
Thermometer
TV
See Global#getIcon.
Supported values for mode
:
Fritz! Auto-Login
Hue API
Node-RED
SimpleHome API
Shelly Gen 1
Shelly Gen 2
Tasmota
Website