-
-
Notifications
You must be signed in to change notification settings - Fork 24
Device Saving Structure
Dominik edited this page Dec 27, 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": "SimpleHome API",
"icon": "Display"
}
}
}
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
:
Display
Electricity
Gauge
Hygrometer
Lamp
Raspberry Pi
Router
Speaker
Stack
Thermometer
See Global#getIcon.
Supported values for mode
:
Fritz! Auto-Login
Hue API
Node-RED
SimpleHome API
Shelly Gen 1
Shelly Gen 2
Tasmota
Website