Hier die komplette Struktur:
Code
{"device":{"type":"SHPLG-S","mac":"1234","hostname":"shellyplug-s-C1234A","num_outputs":1,"num_meters":1},"wifi_ap":{"enabled":false,"ssid":"shellyplug-s-C1234A","key":"qwertyui"},"wifi_sta":{"enabled":true,"ssid":"1234","ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"ap_roaming":{"enabled":false,"threshold":-70},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellyplug-s-C1A83A","reconnect_timeout_max":60.000000,"reconnect_timeout_min":2.000000,"clean_session":true,"keep_alive":60,"max_qos":0,"retain":false,"update_period":17},"coiot": {"enabled":true,"update_period":17,"peer":"192.168.1.255:5683"},"sntp":{"server":"time.google.com","enabled":true},"login":{"enabled":false,"unprotected":false,"username":"admin"},"pin_code":"","name":"AC","fw":"20211109-130223/v1.11.7-g682a0db","discoverable":true,"build_info":{"build_id":"20211109-130223/v1.11.7-g682a0db","build_timestamp":"2021-11-09T13:02:23Z","build_version":"1.0"},"cloud":{"enabled":false,"connected":false},"timezone":"Europe/Paris","lat":30.266710,"lng":-97.783249,"tzautodetect":false,"tz_utc_offset":3600,"tz_dst":false,"tz_dst_auto":true,"time":"10:37","unixtime":1638610648,"led_status_disable":true,"debug_enable":false,"allow_cross_origin":false,"actions":{"active":false,"names":["btn_on_url","out_on_url","out_off_url"]},"hwinfo":{"hw_revision":"prod-190516","batch_id":1},"max_power":2500,"led_status_disable":true,"led_power_disable":true,"relays":[{"name":"ACC","appliance_type":"General","ison":false,"has_timer":false,"default_state":"off","auto_on":0.00,"auto_off":0.00,"schedule":false,"schedule_rules":[],"max_power":2500}]}
der JSON-Formatter zeigt eine Warnung an...