Danke.
Echt schade, das währe noch für mich brauchbar. Vielleicht bringen sie irgendwann so etwas mal raus.
Danke.
Echt schade, das währe noch für mich brauchbar. Vielleicht bringen sie irgendwann so etwas mal raus.
Hallo Zusammen, kann ich den Shelly 0-10V direkt als Dali dimmer Nutzen, sprich ich möchte gerne den Vorhandenen Dimmer gegen den Shelly tauschen? Oder benötigt man da noch etwas extra?
Ich wollte jetzt ungern einfach auf gut Glück den Shelly holen.
Danke.
Hi,
also hier das Log von einschalten und bis 0,5Wh.
[script]"delta":{"apower":54.500000,"id":0},"id":0,"name":"switch","component":"switch:0"} 16:59:44 {"delta":{"apower":58.100000,"id":0},"id":0,"name":"switch","component":"switch:0"} 16:59:48 {"delta":{"current":0.678000,"id":0},"id":0,"name":"switch","component":"switch:0"} 16:59:48 {"delta":{"apower":64.900000,"id":0},"id":0,"name":"switch","component":"switch:0"} 16:59:53 {"delta":{"current":0.728000,"id":0},"id":0,"name":"switch","component":"switch:0"} 16:59:56 {"delta":{"apower":69.900000,"id":0},"id":0,"name":"switch","component":"switch:0"} 16:59:57 {"delta":{"current":0.784000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:00 {"delta":{"aenergy":{"total":0.514000,"minute_ts":1686581999,"by_minute":[513.622000,0,0]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:00 {"delta":{"apower":77.300000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:01 {"delta":{"apower":82.100000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:03 {"delta":{"apower":88.900000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:04 {"delta":{"current":0.886000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:04 {"delta":{"apower":95.500000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:05 {"delta":{"current":0.961000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:06 {"delta":{"apower":103.300000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:07 {"delta":{"apower":111.900000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:08 {"delta":{"current":1.014000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:08 {"delta":{"running":true,"id":1},"id":1,"name":"script","component":"script:1"} 17:00:09 {"delta":{"apower":120.800000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:10 {"delta":{"current":1.092000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:10 {"delta":{"apower":131.600000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:11 {"delta":{"apower":140,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:12 {"delta":{"current":1.189000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:12 {"delta":{"apower":154.500000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:14 {"delta":{"current":1.294000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:14 {"delta":{"apower":163,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:15 {"delta":{"current":1.387000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:16 {"delta":{"apower":176.400000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:17 {"delta":{"current":1.469000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:18 {"delta":{"apower":190.700000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:19 {"delta":{"apower":204.600000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:21 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.586}[/script][script] [script] 17:00:22 {"delta":{"current":1.586000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:22 shelly_notification:161 Status change of switch:0: {"id":0,"apower":215.1}[script] [script] 17:00:25 {"delta":{"apower":215.100000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:25 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.671}[script] [script] 17:00:26 {"delta":{"current":1.671000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:26 shelly_notification:161 Status change of switch:0: {"id":0,"apower":226.3}[script] [script] 17:00:29 {"delta":{"apower":226.300000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:29 shelly_notification:161 Status change of switch:0: {"id":0,"apower":238.3}[script] [script] 17:00:36 {"delta":{"apower":238.300000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:36 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.755}[script] [script] 17:00:40 {"delta":{"current":1.755000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:40 shelly_notification:161 Status change of switch:0: {"id":0,"apower":251.0}[script] [script] 17:00:51 {"delta":{"apower":251,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:00:51 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[3386.262,513.622,0.000],"minute_ts":1686582059,"total":3.900}}[script] [script] 17:01:00 {"delta":{"aenergy":{"total":3.900000,"minute_ts":1686582059,"by_minute":[3386.262000,513.622000,0]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:01:00 shelly_notification:161 Status change of switch:0: {"id":0,"apower":264.5}[script] [script] 17:01:07 {"delta":{"apower":264.500000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:01:07 shelly_notification:161 Status change of switch:0: {"id":0,"apower":280.8}[script] [script] 17:01:26 {"delta":{"apower":280.800000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:01:26 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.843}[script] [script] 17:01:34 {"delta":{"current":1.843000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:01:34 shelly_notification:161 Status change of switch:0: {"id":0,"apower":295.2}[script] [script] 17:01:45 {"delta":{"apower":295.200000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:01:45 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4711.643,3386.262,513.622],"minute_ts":1686582119,"total":8.612}}[script] [script] 17:02:00 {"delta":{"aenergy":{"total":8.612000,"minute_ts":1686582119,"by_minute":[4711.643000,3386.262000,513.622000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:02:00 shelly_notification:161 Status change of switch:0: {"id":0,"apower":310.2}[script] [script] 17:02:03 {"delta":{"apower":310.200000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:02:03 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.937}[script] [script] 17:02:04 {"delta":{"current":1.937000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:02:04 shelly_notification:161 Status change of switch:0: {"id":0,"apower":325.9}[script] [script] 17:02:25 {"delta":{"apower":325.900000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:02:25 shelly_notification:161 Status change of switch:0: {"id":0,"apower":343.2}[script] [script] 17:02:53 {"delta":{"apower":343.200000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:02:53 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5476.170,4711.643,3386.262],"minute_ts":1686582179,"total":14.088}}[script] [script] 17:03:00 {"delta":{"aenergy":{"total":14.088000,"minute_ts":1686582179,"by_minute":[5476.170000,4711.643000,3386.262000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:03:00 shelly_notification:161 Status change of switch:0: {"id":0,"current":2.036}[script] [script] 17:03:06 {"delta":{"current":2.036000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:03:06 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5676.403,5476.170,4711.643],"minute_ts":1686582239,"total":19.764}}[script] [script] 17:04:00 {"delta":{"aenergy":{"total":19.764000,"minute_ts":1686582239,"by_minute":[5676.403000,5476.170000,4711.643000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:04:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5537.665,5676.403,5476.170],"minute_ts":1686582299,"total":25.302}}[script] [script] 17:05:00 {"delta":{"aenergy":{"total":25.302000,"minute_ts":1686582299,"by_minute":[5537.665000,5676.403000,5476.170000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:05:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5529.301,5537.665,5676.403],"minute_ts":1686582359,"total":30.831}}[script] [script] 17:06:00 {"delta":{"aenergy":{"total":30.831000,"minute_ts":1686582359,"by_minute":[5529.301000,5537.665000,5676.403000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:06:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5481.583,5529.301,5537.665],"minute_ts":1686582419,"total":36.313}}[script] [script] 17:07:00 {"delta":{"aenergy":{"total":36.313000,"minute_ts":1686582419,"by_minute":[5481.583000,5529.301000,5537.665000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:07:00 shelly_notification:161 Status change of switch:0: {"id":0,"apower":326.0}[script] [script] 17:07:23 {"delta":{"apower":326,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:07:23 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5440.745,5481.583,5529.301],"minute_ts":1686582479,"total":41.753}}[script] [script] 17:08:00 {"delta":{"aenergy":{"total":41.753000,"minute_ts":1686582479,"by_minute":[5440.745000,5481.583000,5529.301000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:08:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5412.703,5440.745,5481.583],"minute_ts":1686582539,"total":47.166}}[script] [script] 17:09:00 {"delta":{"aenergy":{"total":47.166000,"minute_ts":1686582539,"by_minute":[5412.703000,5440.745000,5481.583000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:09:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5390.564,5412.703,5440.745],"minute_ts":1686582599,"total":52.557}}[script] [script] 17:10:00 {"delta":{"aenergy":{"total":52.557000,"minute_ts":1686582599,"by_minute":[5390.564000,5412.703000,5440.745000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:10:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5393.517,5390.564,5412.703],"minute_ts":1686582659,"total":57.950}}[script] [script] 17:11:00 {"delta":{"aenergy":{"total":57.950000,"minute_ts":1686582659,"by_minute":[5393.517000,5390.564000,5412.703000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:11:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5386.629,5393.517,5390.564],"minute_ts":1686582719,"total":63.337}}[script] [script] 17:12:00 {"delta":{"aenergy":{"total":63.337000,"minute_ts":1686582719,"by_minute":[5386.629000,5393.517000,5390.564000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:12:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5382.695,5386.629,5393.517],"minute_ts":1686582779,"total":68.719}}[script] [script] 17:13:00 {"delta":{"aenergy":{"total":68.719000,"minute_ts":1686582779,"by_minute":[5382.695000,5386.629000,5393.517000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:13:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5385.646,5382.695,5386.629],"minute_ts":1686582839,"total":74.105}}[script] [script] 17:14:00 {"delta":{"aenergy":{"total":74.105000,"minute_ts":1686582839,"by_minute":[5385.646000,5382.695000,5386.629000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:14:00 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.934}[script] [script] 17:14:44 {"delta":{"current":1.934000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:14:44 shelly_notification:161 Status change of switch:0: {"id":0,"apower":301.8}[script] [script] 17:14:55 {"delta":{"apower":301.800000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:14:55 shelly_notification:161 Status change of switch:0: {"id":0,"apower":202.8}[script] [script] 17:14:56 {"delta":{"apower":202.800000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:14:56 shelly_notification:161 Status change of switch:0: {"id":0,"current":0.912}[script] [script] 17:14:56 {"delta":{"current":0.912000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:14:56 shelly_notification:161 Status change of switch:0: {"id":0,"apower":219.4}[script] [script] 17:14:59 {"delta":{"apower":219.400000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:14:59 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.051}[script] [script] 17:15:00 {"delta":{"current":1.051000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5202.632,5385.646,5382.695],"minute_ts":1686582899,"total":79.308}}[script] [script] 17:15:00 {"delta":{"aenergy":{"total":79.308000,"minute_ts":1686582899,"by_minute":[5202.632000,5385.646000,5382.695000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:00 shelly_notification:161 Status change of switch:0: {"id":0,"apower":238.4}[script] [script] 17:15:01 {"delta":{"apower":238.400000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:01 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.125}[script] [script] 17:15:02 {"delta":{"current":1.125000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:02 shelly_notification:161 Status change of switch:0: {"id":0,"apower":258.5}[script] [script] 17:15:03 {"delta":{"apower":258.500000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:03 shelly_notification:161 Status change of switch:0: {"id":0,"apower":282.1}[script] [script] 17:15:04 {"delta":{"apower":282.100000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:04 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.255}[script] [script] 17:15:04 {"delta":{"current":1.255000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:04 shelly_notification:161 Status change of switch:0: {"id":0,"apower":320.2}[script] [script] 17:15:05 {"delta":{"apower":320.200000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:05 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.429}[script] [script] 17:15:06 {"delta":{"current":1.429000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:06 shelly_notification:161 Status change of switch:0: {"id":0,"apower":303.2}[script] [script] 17:15:07 {"delta":{"apower":303.200000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:07 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.505}[script] [script] 17:15:10 {"delta":{"current":1.505000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:10 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.590}[script] [script] 17:15:16 {"delta":{"current":1.590000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:16 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.697}[script] [script] 17:15:20 {"delta":{"current":1.697000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:20 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.796}[script] [script] 17:15:26 {"delta":{"current":1.796000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:26 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.899}[script] [script] 17:15:32 {"delta":{"current":1.899000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:32 shelly_notification:161 Status change of switch:0: {"id":0,"apower":318.9}[script] [script] 17:15:35 {"delta":{"apower":318.900000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:15:35 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5128.833,5202.632,5385.646],"minute_ts":1686582959,"total":84.437}}[script] [script] 17:16:00 {"delta":{"aenergy":{"total":84.437000,"minute_ts":1686582959,"by_minute":[5128.833000,5202.632000,5385.646000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:00 shelly_notification:161 Status change of switch:0: {"id":0,"apower":272.7}[script] [script] 17:16:35 {"delta":{"apower":272.700000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:35 shelly_notification:161 Status change of switch:0: {"id":0,"apower":201.0}[script] [script] 17:16:36 {"delta":{"apower":201,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:36 shelly_notification:161 Status change of switch:0: {"id":0,"current":0.910}[script] [script] 17:16:36 {"delta":{"current":0.910000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:36 shelly_notification:161 Status change of switch:0: {"id":0,"apower":218.9}[script] [script] 17:16:39 {"delta":{"apower":218.900000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:39 shelly_notification:161 Status change of switch:0: {"id":0,"apower":230.4}[script] [script] 17:16:40 {"delta":{"apower":230.400000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:40 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.058}[script] [script] 17:16:40 {"delta":{"current":1.058000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:40 shelly_notification:161 Status change of switch:0: {"id":0,"apower":249.3}[script] [script] 17:16:42 {"delta":{"apower":249.300000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:42 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.131}[script] [script] 17:16:42 {"delta":{"current":1.131000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:42 shelly_notification:161 Status change of switch:0: {"id":0,"apower":288.4}[script] [script] 17:16:44 {"delta":{"apower":288.400000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:44 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.284}[script] [script] 17:16:44 {"delta":{"current":1.284000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:44 shelly_notification:161 Status change of switch:0: {"id":0,"apower":315.2}[script] [script] 17:16:45 {"delta":{"apower":315.200000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:45 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.429}[script] [script] 17:16:46 {"delta":{"current":1.429000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:46 shelly_notification:161 Status change of switch:0: {"id":0,"apower":299.0}[script] [script] 17:16:47 {"delta":{"apower":299,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:47 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.510}[script] [script] 17:16:52 {"delta":{"current":1.510000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:52 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.594}[script] [script] 17:16:56 {"delta":{"current":1.594000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:16:56 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.702}[script] [script] 17:17:00 {"delta":{"current":1.702000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:17:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4959.597,5128.833,5202.632],"minute_ts":1686583019,"total":89.396}}[script] [script] 17:17:00 {"delta":{"aenergy":{"total":89.396000,"minute_ts":1686583019,"by_minute":[4959.597000,5128.833000,5202.632000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:17:00 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.800}[script] [script] 17:17:06 {"delta":{"current":1.800000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:17:06 shelly_notification:161 Status change of switch:0: {"id":0,"apower":314.2}[script] [script] 17:17:09 {"delta":{"apower":314.200000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:17:09 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.914}[script] [script] 17:17:14 {"delta":{"current":1.914000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:17:14 shelly_notification:161 Status change of switch:0: {"id":0,"temperature":{"tC":66.42,"tF":151.56}}[script] [script] 17:17:59 {"delta":{"temperature":{"tF":151.560000,"tC":66.420000},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:17:59 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[5225.754,4959.597,5128.833],"minute_ts":1686583079,"total":94.622}}[script] [script] 17:18:00 {"delta":{"aenergy":{"total":94.622000,"minute_ts":1686583079,"by_minute":[5225.754000,4959.597000,5128.833000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:00 shelly_notification:161 Status change of switch:0: {"id":0,"apower":197.4}[script] [script] 17:18:15 {"delta":{"apower":197.400000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:15 shelly_notification:161 Status change of switch:0: {"id":0,"current":0.899}[script] [script] 17:18:16 {"delta":{"current":0.899000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:16 shelly_notification:161 Status change of switch:0: {"id":0,"apower":210.3}[script] [script] 17:18:18 {"delta":{"apower":210.300000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:18 shelly_notification:161 Status change of switch:0: {"id":0,"current":0.976}[script] [script] 17:18:18 {"delta":{"current":0.976000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:18 shelly_notification:161 Status change of switch:0: {"id":0,"apower":222.8}[script] [script] 17:18:19 {"delta":{"apower":222.800000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:19 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.071}[script] [script] 17:18:20 {"delta":{"current":1.071000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:20 shelly_notification:161 Status change of switch:0: {"id":0,"apower":242.5}[script] [script] 17:18:21 {"delta":{"apower":242.500000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:21 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.142}[script] [script] 17:18:22 {"delta":{"current":1.142000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:22 shelly_notification:161 Status change of switch:0: {"id":0,"apower":271.5}[script] [script] 17:18:23 {"delta":{"apower":271.500000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:23 shelly_notification:161 Status change of switch:0: {"id":0,"apower":308.8}[script] [script] 17:18:24 {"delta":{"apower":308.800000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:24 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.365}[script] [script] 17:18:24 {"delta":{"current":1.365000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:24 shelly_notification:161 Status change of switch:0: {"id":0,"apower":292.8}[script] [script] 17:18:26 {"delta":{"apower":292.800000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:26 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.459}[script] [script] 17:18:28 {"delta":{"current":1.459000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:18:28 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4709.183,5225.754,4959.597],"minute_ts":1686583139,"total":99.331}}[script] [script] 17:19:00 {"delta":{"aenergy":{"total":99.331000,"minute_ts":1686583139,"by_minute":[4709.183000,5225.754000,4959.597000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:19:00 mgos_sntp.c:64 SNTP reply from 192.168.101.1: time 1686583143.060065, local 1686583144.050738, delta -0.990673[script] [script] 17:19:04 shelly_sys.cpp:191 Time is set[script] [script] 17:19:03 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.386}[script] [script] 17:19:27 {"delta":{"current":1.386000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:19:27 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4942.380,4709.183,5225.754],"minute_ts":1686583199,"total":104.273}}[script] [script] 17:20:00 {"delta":{"aenergy":{"total":104.273000,"minute_ts":1686583199,"by_minute":[4942.380000,4709.183000,5225.754000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:20:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4904.990,4942.380,4709.183],"minute_ts":1686583259,"total":109.178}}[script] [script] 17:21:00 {"delta":{"aenergy":{"total":109.178000,"minute_ts":1686583259,"by_minute":[4904.990000,4942.380000,4709.183000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:21:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4898.594,4904.990,4942.380],"minute_ts":1686583319,"total":114.077}}[script] [script] 17:22:00 {"delta":{"aenergy":{"total":114.077000,"minute_ts":1686583319,"by_minute":[4898.594000,4904.990000,4942.380000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:22:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4881.373,4898.594,4904.990],"minute_ts":1686583379,"total":118.958}}[script] [script] 17:23:00 {"delta":{"aenergy":{"total":118.958000,"minute_ts":1686583379,"by_minute":[4881.373000,4898.594000,4904.990000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:23:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4841.034,4881.373,4898.594],"minute_ts":1686583439,"total":123.799}}[script] [script] 17:24:00 {"delta":{"aenergy":{"total":123.799000,"minute_ts":1686583439,"by_minute":[4841.034000,4881.373000,4898.594000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:24:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4779.042,4841.034,4881.373],"minute_ts":1686583499,"total":128.578}}[script] [script] 17:25:00 {"delta":{"aenergy":{"total":128.578000,"minute_ts":1686583499,"by_minute":[4779.042000,4841.034000,4881.373000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:25:00 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.314}[script] [script] 17:25:39 {"delta":{"current":1.314000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:25:39 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4733.289,4779.042,4841.034],"minute_ts":1686583559,"total":133.311}}[script] [script] 17:26:00 {"delta":{"aenergy":{"total":133.311000,"minute_ts":1686583559,"by_minute":[4733.289000,4779.042000,4841.034000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:26:00 shelly_notification:161 Status change of switch:0: {"id":0,"apower":273.3}[script] [script] 17:26:53 {"delta":{"apower":273.300000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:26:53 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4688.520,4733.289,4779.042],"minute_ts":1686583619,"total":138.000}}[script] [script] 17:27:00 {"delta":{"aenergy":{"total":138,"minute_ts":1686583619,"by_minute":[4688.520000,4733.289000,4779.042000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:27:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4669.826,4688.520,4733.289],"minute_ts":1686583679,"total":142.669}}[script] [script] 17:28:00 {"delta":{"aenergy":{"total":142.669000,"minute_ts":1686583679,"by_minute":[4669.826000,4688.520000,4733.289000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:28:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4647.685,4669.826,4688.520],"minute_ts":1686583739,"total":147.317}}[script] [script] 17:29:00 {"delta":{"aenergy":{"total":147.317000,"minute_ts":1686583739,"by_minute":[4647.685000,4669.826000,4688.520000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:29:00 shelly_notification:161 Status change of switch:0: {"id":0,"apower":247.8}[script] [script] 17:29:27 {"delta":{"apower":247.800000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:29:27 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.132}[script] [script] 17:29:27 {"delta":{"current":1.132000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:29:27 shelly_notification:161 Status change of switch:0: {"id":0,"apower":264.0}[script] [script] 17:29:30 {"delta":{"apower":264,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:29:30 shelly_notification:161 Status change of switch:0: {"id":0,"apower":280.2}[script] [script] 17:29:31 {"delta":{"apower":280.200000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:29:31 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.301}[script] [script] 17:29:31 {"delta":{"current":1.301000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:29:31 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4570.938,4647.685,4669.826],"minute_ts":1686583799,"total":151.888}}[script] [script] 17:30:00 {"delta":{"aenergy":{"total":151.888000,"minute_ts":1686583799,"by_minute":[4570.938000,4647.685000,4669.826000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:30:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4538.466,4570.938,4647.685],"minute_ts":1686583859,"total":156.426}}[script] [script] 17:31:00 {"delta":{"aenergy":{"total":156.426000,"minute_ts":1686583859,"by_minute":[4538.466000,4570.938000,4647.685000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:31:00 shelly_notification:161 Status change of switch:0: {"id":0,"current":1.233}[script] [script] 17:31:05 {"delta":{"current":1.233000,"id":0},"id":0,"name":"switch","component":"switch:0"} 17:31:05 mgos_mongoose.c:66 New heap free LWM: 124876[script] [script] 17:31:53 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[4620.625,4538.466,4570.938],"minute_ts":1686583919,"total":161.047}}[script] [script] 17:32:00 {"delta":{"aenergy":{"total":161.047000,"minute_ts":1686583919,"by_minute":[4620.625000,4538.466000,4570.938000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 17:32:00 [/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script]
Das Mundgerecht war nicht mein Problem. Der Shelly schaltet bei erreichen nicht ab.
So wie bei dir sieht es bei mir aus. Warum das so komisch da.steht, keine Ahnung.
Ok, punkt 1 hat sich erledigt. Nach dem 2. Reboot startet das Script automatisch.
Also, hier das Script.
Ich habe es aus dem "Scriptcenter" so übernommen
[script][/script]
[script]
[/script]
[script]let startMonitor = false;
[/script]
[script]let eAccumulator = 0;
[/script]
[script]let maxEnergy = 120; //threshold, in milliwatthours
[/script]
[script]Shelly.addEventHandler(function (event, user_data) {
[/script]
[script]if (typeof event.info.output !== "undefined") {
[/script]
[script]if (event.info.output) {
[/script]
[script]startMonitor = true;
[/script]
[script]eAccumulator = 0;
[/script]
[script]} else {
[/script]
[script]startMonitor = false;
[/script]
[script]}
[/script]
[script]}
[/script]
[script]}, null);
[/script]
[script]
[/script]
[script]Shelly.addStatusHandler(function (event, user_data) {
[/script]
[script]print(JSON.stringify(event));
[/script]
[script]if (typeof event.delta.aenergy !== "undefined") {
[/script]
[script]if (startMonitor) {
[/script]
[script]eAccumulator = eAccumulator + event.delta.aenergy.by_minute[0];
[/script]
[script]if (eAccumulator > maxEnergy) {
[/script]
[script]print("Will turn off because of power consumed");
[/script]
[script]Shelly.call(
[/script]
[script]"switch.set",
[/script]
[script]{ id: 0, on: false },
[/script]
[script]function (result, code, msg, ud) {},
[/script]
[script]null
[/script]
[script]);
[/script]
[script]}
[/script]
[script]}
[/script]
[script]}
[/script]
[script]}, null);[/script]
[script][/script]
Alles anzeigen
Leider scheint es bei mir nicht zu funktionieren.
1. Das Script startet nicht Automatisch wenn der Shelly seine Spannung verliert.
2. Die Abschaltung erfolgt leider nicht. muß ich im Script irgendetwas ändern?
Ich habe einen Shelly Plus 1 PM mit der Firmware 0.14.1
hier ein
[script][/script]
[script]Full log
[/script]
[script]
08:34:29 {"delta":{"current":0.838000,"id":0},"id":0,"name":"switch","component":"switch:0"} 08:34:29 shelly_notification:161 Status change of switch:0: {"id":0,"apower":188.0}
08:34:30 {"delta":{"apower":188,"id":0},"id":0,"name":"switch","component":"switch:0"} 08:34:30 shelly_notification:161 Status change of switch:0: {"id":0,"current":0.930}
08:34:31 {"delta":{"current":0.930000,"id":0},"id":0,"name":"switch","component":"switch:0"} 08:34:31 shelly_notification:161 Status change of switch:0: {"id":0,"current":0.879}
08:34:35 {"delta":{"current":0.879000,"id":0},"id":0,"name":"switch","component":"switch:0"} 08:34:35 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[3012.361,2890.351,2810.651],"minute_ts":1686465299,"total":164.019}}
08:35:00 {"delta":{"aenergy":{"total":164.019000,"minute_ts":1686465299,"by_minute":[3012.361000,2890.351000,2810.651000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 08:35:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[3125.024,3012.361,2890.351],"minute_ts":1686465359,"total":167.144}}
08:36:00 {"delta":{"aenergy":{"total":167.144000,"minute_ts":1686465359,"by_minute":[3125.024000,3012.361000,2890.351000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 08:36:00 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[3162.906,3125.024,3012.361],"minute_ts":1686465419,"total":170.307}}
08:37:00 {"delta":{"aenergy":{"total":170.307000,"minute_ts":1686465419,"by_minute":[3162.906000,3125.024000,3012.361000]},"id":0},"id":0,"name":"switch","component":"switch:0"} 08:37:00 shelly_notification:161 Status change of switch:0: {"id":0,"apower":197.5}
08:37:23 {"delta":{"apower":197.500000,"id":0},"id":0,"name":"switch","component":"switch:0"} 08:37:23 shelly_notification:161 Status change of switch:0: {"id":0,"current":0.923}
08:37:23 {"delta":{"current":0.923000,"id":0},"id":0,"name":"switch","component":"switch:0"} 08:37:23 shelly_notification:161 Status change of switch:0: {"id":0,"aenergy":{"by_minute":[3226.863,3162.906,3125.024],"minute_ts":1686465479,"total":173.533}}
08:38:00 {"delta":{"aenergy":{"total":173.533000,"minute_ts":1686465479,"by_minute":[3226.863000,3162.906000,3125.024000]},"id":0},"id":0,"name":"switch","component":"switch:0"}
[/script]
[script]
[/script]
Alles anzeigen
Okey,
ich gebe zu, ich kann es nicht lassen es schneller zu probieren. Wobei ich die Funktion erst morgen testen kann.
2 Fragen noch zu dem Script:
Wozu dient dieser Eintrag?
let eAccumulator = 0
Verstehe ich es richtig, das diese Zahl in Miliwattstunden den max Verbrauch angibt nachdem er abschalten soll??
let maxEnergy = 120;
Top, danke. Ich schaue mir das morgen einmal an.
Oookkkeeeyy, das wusste ich noch gar nicht, das die Teile selber Scripte ausführen können.
Gibt es.da eine einfache Anleitung im Netz wie man das genau macht?
es ist einfach so das die.Verbraucher die.da dran hängen bei 5KWh verbrauch abgeschaltet werden sollen. Was da dran ist, ist egal.
Danke für den Link. Ich werde es mir mal anschauen. Auf welchem System läuft es dann?
Stöhn, dann muss ich mir das ganze einmal anschauen. Ich hatte hoffnung, da die Werte.ja schon "da" sind, das es einfacher geht ohne einen zusätzlichen Rechner.
Hi, es soll pro Tag sein.
Sprich es darf maximal 5Kwh an einem "Abgang" pro Tag verbraucht werden, dann soll abgeschaltetbwerden bis zum nächsten Tag.
Stöhn, also komme ich um so ein Homeassistand nicht rum. Was würdet ihr da für einen fast Dau Empfehlen. Läuft das auf eine 3'er PI? da hätte ich noch 2 von. allerdings die ohne Plus.
Öhm, nein, ich möchte keine 5KW schalten. ivh möchte, das abgeschaltet wird bei einem Verbrauch von 5KWh.
Hallo Zusammen,
ich habe eine Frage zu dem Shelly plus PM. Ich bin soweit zufrieden mit den Teilen, jedoch benötige ich noch eine Kleinigkeit.
Wenn bei dem Shelly der Verbrauch von z.B. 5Kwh erreicht ist soll der Shelly abschalten, oder einen anderen Shelly abschalten. Geht das? Wenn ja, wie?