+[{"id":"Shelly_Plus_Plug_S_Gen2+_HTTP_API","name":"Shelly Plug S (Gen2+)","actions":[{"name":"getStatusCloud","actionModelName":"GridActionHTTP","customValues":[{"name":"cloudAddress","type":"text","placeholder":"likeShellyCloudUrl","autoStartWith":["https://"],"mustMatch":"\"^(https?:\\/\\/)?(\\d{1,3}\\.){3}\\d{1,3}$\""},{"name":"deviceId","type":"text","placeholder":"likeShellyDeviceId"},{"name":"authCloudKey","type":"text","placeholder":"likeShellyAuthKey"}],"presets":{"method":"GET","restUrl":"${cloudAddress}/device/status?auth_key=${authCloudKey}&id=${deviceId}","url":"https://api.open-meteo.com/v1/forecast?latitude=48.2085&longitude=16.3721¤t=temperature_2m,relative_humidity_2m,apparent_temperature,is_day,precipitation,rain,showers,snowfall,weather_code,cloud_cover,wind_speed_10m"},"extract":{"mode":"EXTRACT_JSON","extractInfos":[{"name":"stateOnOff","selector":"data.device_status.switch:0.output","mappings":{"true":"on","false":"off"}},{"name":"currentPower","selector":"data.device_status.switch:0.apower"},{"name":"currentVoltage","selector":"data.device_status.switch:0.voltage"},{"name":"totalEnergyWh","selector":"data.device_status.switch:0.aenergy.total"},{"name":"temperatureCelsius","selector":"data.device_status.switch:0.temperature.tC"},{"name":"temperatureFahrenheit","selector":"data.device_status.switch:0.temperature.tF"}]}},{"name":"getStatusLocal","actionModelName":"GridActionHTTP","customValues":[{"name":"deviceAddress","type":"text","placeholder":"likeLocalAddress","autoStartWith":["http://","https://"],"mustMatch":"\"^(https?:\\/\\/)?(\\d{1,3}\\.){3}\\d{1,3}$\""}],"presets":{"method":"GET","restUrl":"${deviceAddress}/rpc/Switch.GetStatus?id=0"},"extract":{"mode":"EXTRACT_JSON","extractInfos":[{"name":"stateOnOff","selector":"output","mappings":{"true":"on","false":"off"}},{"name":"currentPower","selector":"apower"},{"name":"currentVoltage","selector":"voltage"},{"name":"totalEnergyWh","selector":"aenergy.total"},{"name":"temperatureCelsius","selector":"temperature.tC"},{"name":"temperatureFahrenheit","selector":"temperature.tF"}]}}]},{"id":"Shelly_Plus_Plug_S_Gen2+_HTTP_API","name":"Shelly Plug S (Gen2+)","actions":[{"name":"getStatusCloud","actionModelName":"GridActionHTTP","customValues":[{"name":"cloudAddress","type":"text","placeholder":"likeShellyCloudUrl","autoStartWith":["https://"],"mustMatch":"\"^(https?:\\/\\/)?(\\d{1,3}\\.){3}\\d{1,3}$\""},{"name":"deviceId","type":"text","placeholder":"likeShellyDeviceId"},{"name":"authCloudKey","type":"text","placeholder":"likeShellyAuthKey"}],"presets":{"method":"GET","restUrl":"${cloudAddress}/device/status?auth_key=${authCloudKey}&id=${deviceId}","url":"https://icanhazdadjoke.com/"},"extract":{"mode":"EXTRACT_JSON","extractInfos":[{"name":"stateOnOff","selector":"data.device_status.switch:0.output","mappings":{"true":"on","false":"off"}},{"name":"currentPower","selector":"data.device_status.switch:0.apower"},{"name":"currentVoltage","selector":"data.device_status.switch:0.voltage"},{"name":"totalEnergyWh","selector":"data.device_status.switch:0.aenergy.total"},{"name":"temperatureCelsius","selector":"data.device_status.switch:0.temperature.tC"},{"name":"temperatureFahrenheit","selector":"data.device_status.switch:0.temperature.tF"}]}},{"name":"getStatusLocal","actionModelName":"GridActionHTTP","customValues":[{"name":"deviceAddress","type":"text","placeholder":"likeLocalAddress","autoStartWith":["http://","https://"],"mustMatch":"\"^(https?:\\/\\/)?(\\d{1,3}\\.){3}\\d{1,3}$\""}],"presets":{"method":"GET","restUrl":"${deviceAddress}/rpc/Switch.GetStatus?id=0"},"extract":{"mode":"EXTRACT_JSON","extractInfos":[{"name":"stateOnOff","selector":"output","mappings":{"true":"on","false":"off"}},{"name":"currentPower","selector":"apower"},{"name":"currentVoltage","selector":"voltage"},{"name":"totalEnergyWh","selector":"aenergy.total"},{"name":"temperatureCelsius","selector":"temperature.tC"},{"name":"temperatureFahrenheit","selector":"temperature.tF"}]}}]},{"id":"Shelly_Plus_Plug_S_Gen2+_HTTP_API","name":"Shelly Plug S (Gen2+)","actions":[{"name":"getStatusCloud","actionModelName":"GridActionHTTP","customValues":[{"name":"cloudAddress","type":"text","placeholder":"likeShellyCloudUrl","autoStartWith":["https://"],"mustMatch":"\"^(https?:\\/\\/)?(\\d{1,3}\\.){3}\\d{1,3}$\""},{"name":"deviceId","type":"text","placeholder":"likeShellyDeviceId"},{"name":"authCloudKey","type":"text","placeholder":"likeShellyAuthKey"}],"presets":{"method":"GET","restUrl":"${cloudAddress}/device/status?auth_key=${authCloudKey}&id=${deviceId}"},"extract":{"mode":"EXTRACT_JSON","extractInfos":[{"name":"stateOnOff","selector":"data.device_status.switch:0.output","mappings":{"true":"on","false":"off"}},{"name":"currentPower","selector":"data.device_status.switch:0.apower"},{"name":"currentVoltage","selector":"data.device_status.switch:0.voltage"},{"name":"totalEnergyWh","selector":"data.device_status.switch:0.aenergy.total"},{"name":"temperatureCelsius","selector":"data.device_status.switch:0.temperature.tC"},{"name":"temperatureFahrenheit","selector":"data.device_status.switch:0.temperature.tF"}]}},{"name":"getStatusLocal","actionModelName":"GridActionHTTP","customValues":[{"name":"deviceAddress","type":"text","placeholder":"likeLocalAddress","autoStartWith":["http://","https://"],"mustMatch":"\"^(https?:\\/\\/)?(\\d{1,3}\\.){3}\\d{1,3}$\""}],"presets":{"method":"GET","restUrl":"${deviceAddress}/rpc/Switch.GetStatus?id=0"},"extract":{"mode":"EXTRACT_JSON","extractInfos":[{"name":"stateOnOff","selector":"output","mappings":{"true":"on","false":"off"}},{"name":"currentPower","selector":"apower"},{"name":"currentVoltage","selector":"voltage"},{"name":"totalEnergyWh","selector":"aenergy.total"},{"name":"temperatureCelsius","selector":"temperature.tC"},{"name":"temperatureFahrenheit","selector":"temperature.tF"}]}}]}]
0 commit comments