# Changelog
All notable changes to this project will be documented in this file.

## [11.8.0] - 2026-03-15
### On error the node will send a msg.error (polling) - [#168](https://github.com/windkh/node-red-contrib-shelly/issues/168)

## [11.7.6] - 2026-03-15
### Fixed polling output for gen1 when offline - [#232](https://github.com/windkh/node-red-contrib-shelly/issues/232)

## [11.7.5] - 2026-02-15
### Added S3PL-30110EU - [#241](https://github.com/windkh/node-red-contrib-shelly/issues/241)

## [11.7.4] - 2026-01-21
### Add exception handling to callback script - [#239](https://github.com/windkh/node-red-contrib-shelly/pull/239)

## [11.7.3] - 2026-01-14
### Code Cleanup - added missing devices

## [11.7.2] - 2026-01-11
###  fixed wrong script path - [#236](https://github.com/windkh/node-red-contrib-shelly/issues/236)

## [11.7.1] - 2026-01-11
###  added Shelly Plus US - [#235](https://github.com/windkh/node-red-contrib-shelly/issues/235)

## [11.7.0] - 2025-12-14
### Refactored code: split code into several files. Warning this is a beta! Testing is required!

## [11.6.9] - 2025-09-28
###  added Pro 4pm V3 - [#226](https://github.com/windkh/node-red-contrib-shelly/issues/226)

## [11.6.8] - 2025-09-28
###  added gen 4 devices - [#223](https://github.com/windkh/node-red-contrib-shelly/issues/223)

## [11.6.7] - 2025-09-01
###  fixed Shelly Walldisplay X2 gen - [#221](https://github.com/windkh/node-red-contrib-shelly/issues/221)

## [11.6.6] - 2025-08-25
###  added Shelly Walldisplay X2 - [#221](https://github.com/windkh/node-red-contrib-shelly/issues/221)

## [11.6.5] - 2025-08-11
###  added Shelly Ogemray 25A - [#220](https://github.com/windkh/node-red-contrib-shelly/issues/220)
###  added Shelly 2PM Gen4 - [#219](https://github.com/windkh/node-red-contrib-shelly/issues/219)

## [11.6.4] - 2025-07-06
###  added Shelly 2L Gen3 - [#215](https://github.com/windkh/node-red-contrib-shelly/issues/215)
###  added Shelly Shelly Pro RGBWW PM - [#217](https://github.com/windkh/node-red-contrib-shelly/issues/217)

## [11.6.3] - 2025-07-02
###  added Shelly Gen3 shutter

## [11.6.2] - 2025-06-27
###  filtered more events in callback script - [#214](https://github.com/windkh/node-red-contrib-shelly/issues/214)

## [11.6.1] - 2025-05-20
###  fixed Shelly Gen4 devices - [#211](https://github.com/windkh/node-red-contrib-shelly/issues/211)

## [11.6.0] - 2025-05-18
###  added Shelly Gen4 devices - [#211](https://github.com/windkh/node-red-contrib-shelly/issues/211)

## [11.5.10] - 2025-05-01
###  added Shelly Outdoor Plug S Gen3 - [#208](https://github.com/windkh/node-red-contrib-shelly/issues/208)

## [11.5.9] - 2025-04-17
###  added Shelly AZ Plug - [#206](https://github.com/windkh/node-red-contrib-shelly/issues/206)

## [11.5.8] - 2025-04-17
###  added Shelly Pro Dimmer 0/1-10V PM - [#207](https://github.com/windkh/node-red-contrib-shelly/issues/207)

## [11.5.7] - 2025-03-30
###  added Shelly 3EM-63 Gen3 - [#203](https://github.com/windkh/node-red-contrib-shelly/issues/203)

## [11.5.6] - 2025-01-10
###  fixed config - [#198](https://github.com/windkh/node-red-contrib-shelly/issues/198)
###  fixed config - [#199](https://github.com/windkh/node-red-contrib-shelly/issues/199)

## [11.5.5] - 2025-01-05
###  added Shelly EM Gen3 - [#196](https://github.com/windkh/node-red-contrib-shelly/issues/196)

## [11.5.4] - 2024-11-23
###  tried to fix crash with gen2 empty input - [#194](https://github.com/windkh/node-red-contrib-shelly/issues/194)

## [11.5.3] - 2024-11-23
###  added Shelly Blu Gateways Gen3 - [#191](https://github.com/windkh/node-red-contrib-shelly/issues/191)

## [11.5.2] - 2024-11-11
###  added Shelly 2PM Gen3 - [#190](https://github.com/windkh/node-red-contrib-shelly/issues/190)
###  improved readme for RGBW - [#189](https://github.com/windkh/node-red-contrib-shelly/issues/189)

## [11.5.1] - 2024-11-04
###  added Shelly Pro 1 UL - [#188](https://github.com/windkh/node-red-contrib-shelly/issues/188)

## [11.5.0] - 2024-10-20
###  msg.payload can be an array of commands (gen2 only) - [#184](https://github.com/windkh/node-red-contrib-shelly/issues/184)

## [11.4.2] - 2024-10-20
###  support for shelly bulb rgbw - [#185](https://github.com/windkh/node-red-contrib-shelly/issues/185)

## [11.4.0] - 2024-10-04
###  support for shelly RC button 4 - [#181](https://github.com/windkh/node-red-contrib-shelly/issues/181)

## [11.3.0] - 2024-09-27
###  removed all promises 

## [11.2.0] - 2024-09-19
###  all gen2+ devices can act as blu gateway - [#164](https://github.com/windkh/node-red-contrib-shelly/issues/164)

## [11.1.1] - 2024-09-19
###  added Shelly Pro 2 UL - [#179](https://github.com/windkh/node-red-contrib-shelly/issues/179)

## [11.1.0] - 2024-09-19
###  fixed callback - [#178](https://github.com/windkh/node-red-contrib-shelly/issues/178)

## [11.0.0] - 2024-09-16
###  updated dependencies - [#176](https://github.com/windkh/node-red-contrib-shelly/issues/176)

## [10.29.0] - 2024-09-08
###  added suport for shelly plus RGBW PM - [#167](https://github.com/windkh/node-red-contrib-shelly/issues/167)

## [10.28.4] - 2024-09-08
###  fixed port number validation - [#170](https://github.com/windkh/node-red-contrib-shelly/issues/170)

## [10.28.3] - 2024-08-07
###  added new device type SPSW-201PE15UL - [#173](https://github.com/windkh/node-red-contrib-shelly/issues/173)

## [10.28.2] - 2024-08-07
###  fixed Error Connection reset when status is sent after a command - [#172](https://github.com/windkh/node-red-contrib-shelly/issues/172)

## [10.28.1] - 2024-07-12
###  fixed initializers - [#165](https://github.com/windkh/node-red-contrib-shelly/issues/165)

## [10.27.3] - 2024-07-08
###  2nd attempt to fix - [#163](https://github.com/windkh/node-red-contrib-shelly/issues/163)

## [10.27.2] - 2024-07-08
###  fixed combobox in config dialog

## [10.27.1] - 2024-07-08
###  Fixed gen 1 strict mode - [#163](https://github.com/windkh/node-red-contrib-shelly/issues/163)

## [10.27.0] - 2024-07-07
###  refactored requests to avoid unhandled exceptions 
###  added auto detect feature in the configuration dialog

## [10.26.2] - 2024-07-07
###  added SPSW-201PE16EU - [#162](https://github.com/windkh/node-red-contrib-shelly/issues/162)
###  added SNSW-102P16EU  - [#161](https://github.com/windkh/node-red-contrib-shelly/issues/161)

## [10.26.0] - 2024-06-30
###  added verbose logging - [#130](https://github.com/windkh/node-red-contrib-shelly/issues/130)
###  every node has an own axios instance now to fix #157

## [10.25.2] - 2024-06-24
###  fixed gen 3 problems: device was not detected correctly - [#159](https://github.com/windkh/node-red-contrib-shelly/issues/159)

## [10.25.1] - 2024-06-15
###  added unique timeouts to hunt down issue 157 - [#157](https://github.com/windkh/node-red-contrib-shelly/issues/157)

## [10.25.0] - 2024-06-02
###  added strict mode for device mode detection.

## [10.24.1] - 2024-06-01
###  support for shelly wall display (relay) - [#155](https://github.com/windkh/node-red-contrib-shelly/issues/155)
###  devices are checked for their type during start up

## [10.24.0] - 2024-06-01
###  added support for dimmer plus 0-10V - [#154](https://github.com/windkh/node-red-contrib-shelly/issues/154)
###  added configuration file for all known shelly types

## [10.23.0] - 2024-04-19
###  fixed roller problems when position is 0 - [#153](https://github.com/windkh/node-red-contrib-shelly/issues/153)

## [10.22.0] - 2024-04-07
###  fixed dimmer problems when brightness is 0 - [#150](https://github.com/windkh/node-red-contrib-shelly/issues/150)

## [10.21.0] - 2024-03-17
###  added support for shelly wall display

## [10.20.0] - 2024-03-17
###  added support for shelly uni plus - [#144](https://github.com/windkh/node-red-contrib-shelly/issues/144)

## [10.19.0] - 2024-03-16
###  support for gen 3 shelly 1PM Mini and H&T gen3

## [10.18.0] - 2024-03-12
###  improved msg.payload checking - [#143](https://github.com/windkh/node-red-contrib-shelly/issues/143)

## [10.17.0] - 2024-03-12
###  gen 2 script ignores power and current changes - [#142](https://github.com/windkh/node-red-contrib-shelly/issues/142)

## [10.16.1] - 2023-12-03
###  Improved uninstalling script from blu gateway

## [10.16.0] - 2023-12-03
###  gen 2 fixed deleting script - [#137](https://github.com/windkh/node-red-contrib-shelly/issues/137)

## [10.15.0] - 2023-10-31
###  added support blu gateway - [#136](https://github.com/windkh/node-red-contrib-shelly/issues/136)

## [10.14.3] - 2023-10-31
###  2nd attempt to fix webhook problems next gen 2 fw - [#129](https://github.com/windkh/node-red-contrib-shelly/issues/129)

## [10.14.2] - 2023-10-05
###  added support for shelly plus wall dimmer - [#131](https://github.com/windkh/node-red-contrib-shelly/issues/131)

## [10.14.1] - 2023-10-05
###  install webhook problems fixed with next gen 2 fw - [#129](https://github.com/windkh/node-red-contrib-shelly/issues/129)

## [10.14.0] - 2023-10-04
###  upload script problems fixed with next gen 2 fw - [#128](https://github.com/windkh/node-red-contrib-shelly/issues/128)

## [10.13.8] - 2023-09-29
###  added support for shelly plus 1 mini - [#127](https://github.com/windkh/node-red-contrib-shelly/issues/127)

## [10.13.7] - 2023-08-30
###  added further properties to all_status

## [10.13.6] - 2023-08-..
###  added support for the shelly cloud "status_all" command which gives a listing of all devices with their status

## [10.13.5] - 2023-06-13
## [10.13.4] - 2023-06-13
###  added support for shelly plus wall dimmer - [#115](https://github.com/windkh/node-red-contrib-shelly/issues/115)

## [10.13.3] - 2023-04-11
###  added support for shelly pro EM - [#112](https://github.com/windkh/node-red-contrib-shelly/issues/112)

## [10.13.2] - 2023-03-27
###  added timer for dimmer - [#113](https://github.com/windkh/node-red-contrib-shelly/issues/113)

## [10.13.1] - 2023-02-21
###  added support for Plus Plug S, Plus Smoke

## [10.13.0] - 2023-02-19
###  fixed Basic auth header for TRV - [#108](https://github.com/windkh/node-red-contrib-shelly/issues/108)

## [10.12.1] - 2023-02-18
###  replaced replace function - [#108](https://github.com/windkh/node-red-contrib-shelly/issues/108)

## [10.12.0] - 2022-28-12
###  Added support gen 2 add on

## [10.11.0] - 2022-12-08
###  Added support for IP detection in server nodes

## [10.10.0] - 2022-11-27
###  added new porperty ext for shelly gen 1 - [#90](https://github.com/windkh/node-red-contrib-shelly/issues/90)
###  added new porperty ext for shelly gen 1 - [#104](https://github.com/windkh/node-red-contrib-shelly/issues/104)

## [10.9.1] - 2022-11-01
###  fixed package.json

## [10.9.0] - 2022-11-01
###  reverted path require from 10.7.0 - [#101](https://github.com/windkh/node-red-contrib-shelly/issues/101)

## [10.8.0] - 2022-10-31
###  partially reverted changes from 10.7.0 - [#101](https://github.com/windkh/node-red-contrib-shelly/issues/101)

## [10.7.0] - 2022-10-29
###  replaced crypto package - [#99](https://github.com/windkh/node-red-contrib-shelly/issues/99)
###  replaced fs package - [#96](https://github.com/windkh/node-red-contrib-shelly/issues/96)

## [10.6.0] - 2022-10-28
###  added try catch when axios is called - [#98](https://github.com/windkh/node-red-contrib-shelly/issues/98)

## [10.5.0] - 2022-10-15
###  Webhooks and scripts are automatically removed when switchingback to polling or none - [#83](https://github.com/windkh/node-red-contrib-shelly/issues/83)

## [10.4.0] - 2022-10-08
###  Added throttle mode to cloud node - [#92](https://github.com/windkh/node-red-contrib-shelly/issues/92)
###  Status can be polled using cloud node

## [10.3.0] - 2022-10-08
###  SHEM3 can be used as relay
###  Gen2 Switches fixed

## [10.2.0] - 2022-10-08
###  Added SHPLG2-1 - [#95](https://github.com/windkh/node-red-contrib-shelly/issues/95)

## [10.1.0] - 2022-10-09
###  Fixed webhook problem - [#94](https://github.com/windkh/node-red-contrib-shelly/issues/94)
###  Fixed EM problems 

## [10.0.0] - 2022-10-07
###  Breaking change in cloud API - [#29](https://github.com/windkh/node-red-contrib-shelly/issues/29)

## [9.17.0] - 2022-10-06
###  Added support for cloud API - [#29](https://github.com/windkh/node-red-contrib-shelly/issues/29)

## [9.16.1] - 2022-10-04
###  First version of cloud node: status can be retrieved now

## [9.16.0] - 2022-09-18
###  fixed webhook for TRV and Motion: the devices support intervals and must be configured in a different way.

## [9.15.0] - 2022-09-16
###  fixed examples - [#89](https://github.com/windkh/node-red-contrib-shelly/issues/89)

## [9.14.0] - 2022-09-05
###  fixed RGBW2: mode removed - [#88](https://github.com/windkh/node-red-contrib-shelly/issues/88)

## [9.13.0] - 2022-09-04
###  added callback support for I3 - [#69](https://github.com/windkh/node-red-contrib-shelly/issues/69)

## [9.12.0] - 2022-09-04
###  fixed gen 2 authentication: Digest auth is used now - [#79](https://github.com/windkh/node-red-contrib-shelly/issues/79)
###  fixed - [#87](https://github.com/windkh/node-red-contrib-shelly/issues/87)

## [9.11.0] - 2022-09-03
###  added webhook support for Shelly Button 1 - [#85](https://github.com/windkh/node-red-contrib-shelly/issues/85)

## [9.10.0] - 2022-09-03
###  fixed - [#84](https://github.com/windkh/node-red-contrib-shelly/issues/84)

## [9.9.0] - 2022-09-02
###  fixed bug in 9.8.0

## [9.8.0] - 2022-09-02
###  added webhook support for gen1 sensors to avoid polling - [#60](https://github.com/windkh/node-red-contrib-shelly/issues/60)

## [9.7.0] - 2022-09-02
###  added support for Shelly Plus H&T - [#71](https://github.com/windkh/node-red-contrib-shelly/issues/71)

## [9.6.0] - 2022-08-26
###  fixed - [#81](https://github.com/windkh/node-red-contrib-shelly/issues/81)

## [9.5.0] - 2022-07-18
###  added support for SNPL US version - [#78](https://github.com/windkh/node-red-contrib-shelly/issues/78)

## [9.4.0] - 2022-06-30
###  fixed - [#77](https://github.com/windkh/node-red-contrib-shelly/issues/77)

## [9.3.1] - 2022-06-06
### added hostname to gen 2 server to support node-red running insode docker.

## [9.2.0] - 2022-04-30
### fixed - [#74](https://github.com/windkh/node-red-contrib-shelly/issues/74)

## [9.1.0] - 2022-04-30
### fixed - [#74](https://github.com/windkh/node-red-contrib-shelly/issues/74)

## [9.0.0] - 2022-05-29
### added callback support for Plus I4

## [8.2.0] - 2022-04-27
### added support for Plus I4 - [#56](https://github.com/windkh/node-red-contrib-shelly/issues/56)

## [8.1.0] - 2022-04-18
### added pro models to supported gen 2 devices - [#66](https://github.com/windkh/node-red-contrib-shelly/issues/66)

## [8.0.0] - 2022-03-31
### full shelly gen 2 rpc protocol support. See example in examples folder.

## [7.3.0] - 2022-03-26
### fixed emeters output - [#63](https://github.com/windkh/node-red-contrib-shelly/issues/63)

## [7.2.0] - 2022-03-23
### added support for setting attributes - [#62](https://github.com/windkh/node-red-contrib-shelly/issues/62)

## [7.1.1] - 2022-03-11
### code cleanup.

## [7.1.0] - 2022-03-11
### fixed bug when username and password was set.

## [7.0.0] - 2022-03-11
### Merged Shelly Plus 1PM node into new GEN 2 node - [#59](https://github.com/windkh/node-red-contrib-shelly/issues/59)

## [6.0.0] - 2022-03-10
### Merged RGBW node into new GEN 1 node - [#58](https://github.com/windkh/node-red-contrib-shelly/issues/58)

## [5.0.0] - 2022-03-10
### major refactoring - shelly gen 1 node replaces all relays and woller shutter nodes

## [4.8.0] - 2022-02-22
### username and password can be passed via msg.payload (like hostname)

## [4.7.1] - 2022-02-21
### fixed RGBW2 node - [#53](https://github.com/windkh/node-red-contrib-shelly/issues/53)

## [4.6.0] - 2022-02-20
### timer support for uni - [#35](https://github.com/windkh/node-red-contrib-shelly/issues/35)

## [4.5.0] - 2022-02-20
### timer is stopped after redeploy - [#46](https://github.com/windkh/node-red-contrib-shelly/issues/46)

## [4.4.0] - 2022-02-19
### added support for button I3 - [#50](https://github.com/windkh/node-red-contrib-shelly/issues/50)
### experimental 

## [4.3.1] - 2022-02-13
### updated lock file

## [4.3.0] - 2022-02-13
### updated axios to 0.26.0

## [4.2.0] - 2022-02-09
### added support for shelly TRV - [#48](https://github.com/windkh/node-red-contrib-shelly/issues/48)
### removed node red tags in package json 

## [4.1.4] - 2022-02-03
### changed node red to 1.3.7 and nodejs to 12.0.0

## [4.1.3] - 2022-02-03
### changed node red to 1.0 and nodejs to 10.0

## [4.1.2] - 2022-02-01
### updated axios dependency to 0.25.0

## [4.1.1] - 2022-02-01
### added missing node-red tags

## [4.1.0] - 2021-12-23
### Cyclically sending of status can be turned off - [#47](https://github.com/windkh/node-red-contrib-shelly/issues/47)

## [4.0.0] - 2021-12-22
### fixed - [#46](https://github.com/windkh/node-red-contrib-shelly/issues/46)
All nodes will now send the status to the output when polling. Not only the color of the node is updated, 
but also an object is sent. 

## [3.4.0] - 2021-12-12
### Motion sensor configuration adapted - [#45](https://github.com/windkh/node-red-contrib-shelly/issues/45)

## [3.3.0] - 2021-12-08
### RGBW2 mode can be dynamically switched - [#44](https://github.com/windkh/node-red-contrib-shelly/issues/44)

## [3.2.0] - 2021-11-28
### hostname can be passed via msg.payload - [#42](https://github.com/windkh/node-red-contrib-shelly/issues/42)

## [3.1.0] - 2021-11-28
### replaced deprecated dependency request with axios - [#39](https://github.com/windkh/node-red-contrib-shelly/issues/39)

## [2.2.0] - 2021-11-28
### Shelly 2.5 supports relay mode - [#43](https://github.com/windkh/node-red-contrib-shelly/issues/43)

## [2.1.1] - 2021-11-21
### Shelly (PM) 1 plus support (first generation 2 device) - [#41](https://github.com/windkh/node-red-contrib-shelly/issues/41)

## [2.0.1] - 2021-11-21
### ping does not crash node-red for gen 2 devices like Shelly PM 1 plus - [#41](https://github.com/windkh/node-red-contrib-shelly/issues/41)

## [2.0.0] - 2021-11-14
### removed config option sendFullStatus for motion and door - [#36](https://github.com/windkh/node-red-contrib-shelly/issues/36)

## [1.16.0] - 2021-11-14
### added support for downloading CSV files from Shelly EM - [#37](https://github.com/windkh/node-red-contrib-shelly/issues/37)

## [1.15.0] - 2021-11-11
### added support for shelly UNI - [#34](https://github.com/windkh/node-red-contrib-shelly/issues/34)

## [1.14.0] - 2021-11-09
### added support for shelly bulb Duo - [#32](https://github.com/windkh/node-red-contrib-shelly/issues/32)

## [1.13.0] - 2021-11-09
### added support for shelly bulb RGBW - [#32](https://github.com/windkh/node-red-contrib-shelly/issues/32)

## [1.12.0] - 2021-10-25
### fixed RGBW2 node: when empty payload is received then status is polled from device.

## [1.11.0] - 2021-10-08
### fixed auth problem with motion sensor - [#31](https://github.com/windkh/node-red-contrib-shelly/issues/31)

## [1.10.1] - 2021-09-09
### new release

## [1.10.0] - 2021-09-09
### Beta support for shelly EM. - [#26](https://github.com/windkh/node-red-contrib-shelly/issues/26)

## [1.9.5] - 2021-07-18
### reworked Motion node now supports extra outputs for motion detected and vibration detected.

## [1.9.4] - 2021-07-17
### reworked RGBW2 node now supports setting white and color mode from within the config node.

## [1.9.2] - 2021-07-13
### reworked RGBW2 node: white mode supported. - [#25](https://github.com/windkh/node-red-contrib-shelly/issues/25)

## [1.8.2] - 2021-07-11
### Beta support for shelly motion. - [#17](https://github.com/windkh/node-red-contrib-shelly/issues/17)

## [1.8.1] - 2021-07-11
### Added missing section in Shelly-RGBW2 html

## [1.8.0] - 2021-07-11
### Beta support for ShellyRGBW2 node (not fully tested). - [#25](https://github.com/windkh/node-red-contrib-shelly/issues/25)

## [1.7.2] - 2021-06-07
### Connection status is polled now. - [#12](https://github.com/windkh/node-red-contrib-shelly/issues/12)

## [1.7.1] - 2021-06-07
### Code cleanup, enhanced readme for RGBW2 node.

## [1.7.0] - 2021-05-30
### Added experimental RGBW node - [#14](https://github.com/windkh/node-red-contrib-shelly/issues/14)

## [1.6.1] - 2021-05-30
### Added git workflows 

## [1.6.0] - 2021-05-30
### Get status can be suppressed in hig hperformance scenarios: e.g. dimmer - [#21](https://github.com/windkh/node-red-contrib-shelly/issues/21)

## [1.5.3] - 2020-12-22
### Added status to msg when polling status - [#9](https://github.com/windkh/node-red-contrib-shelly/issues/9)

## [1.5.2] - 2020-12-22
### Added lternative toggle notation for switch - [#10](https://github.com/windkh/node-red-contrib-shelly/issues/10)

## [1.5.1] - 2020-12-22
### Added UNI support - [#11](https://github.com/windkh/node-red-contrib-shelly/issues/11)

## [1.5.0] - 2020-11-07
### Moved examples to correct folder.

## [1.4.0] - 2020-08-23
### removed check box in dimmer node for sending the full status object.

## [1.3.5] - 2020-08-23
### msg.status contains the original status now (for experts)

## [1.3.4] - 2020-08-23
### updated to latest request 2.88.2

## [1.3.3] - 2020-08-23
### merged pull request
 - msg properties are not lost. - [#7](https://github.com/windkh/node-red-contrib-shelly/issues/7)
 
## [1.3.2]
### Added dimmer

## [1.3.1]
### Added roller shutter.

## [1.2.0]
### Added more options in configuration dialog.

## [1.2.0]
### Fixed bug when closing node on redeploy.

## [1.1.0]
### Added shelly door node.

## [1.0.0]
### Added shelly switch node with example flow.

## [0.1.0]
### Initial version: simple status node added.

**Note:** The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
