Colleagues,
How can I set Shelly PLUS 2PM switches into "momentary" type of switch?
The input type is “button”
This is my config.
Code
device
type "SHSW-25"
mac "C45BBE770844"
hostname "shellyswitch25-C45BBE770844"
num_outputs 2
num_meters 2
num_rollers 1
mode "roller"
wifi_ap
enabled false
ssid "shellyswitch25-C45BBE770844"
key ""
wifi_sta
enabled true
ssid "WIFI NAME1"
ipv4_method "dhcp"
ip null
gw null
mask null
dns null
wifi_sta1
enabled true
ssid "WIFI NAME2"
ipv4_method "dhcp"
ip null
gw null
mask null
dns null
ap_roaming
enabled true
threshold -70
mqtt
enable false
server "192.168.33.3:1883"
user ""
id "shellyswitch25-C45BBE770844"
reconnect_timeout_max 60
reconnect_timeout_min 2
clean_session true
keep_alive 60
max_qos 0
retain false
update_period 30
coiot
enabled true
update_period 15
peer ""
sntp
server "time.google.com"
enabled true
login
enabled false
unprotected false
username "admin"
pin_code ""
name "ShellyR #2"
fw "20230503-095750/v1.13.0-g9aed950"
factory_reset_from_switch true
discoverable false
build_info
build_id "20230503-095750/v1.13.0-g9aed950"
build_timestamp "2023-05-03T09:57:50Z"
build_version "1.0"
cloud
enabled true
connected true
timezone "Europe/Madrid"
lat 35.000000
lng -0.200000
tzautodetect false
tz_utc_offset 7200
tz_dst false
tz_dst_auto true
time "17:35"
unixtime 1691336107
led_status_disable false
debug_enable false
allow_cross_origin false
actions
active false
names
0 "btn_on_url"
1 "btn_off_url"
2 "longpush_url"
3 "shortpush_url"
4 "out_on_url"
5 "out_off_url"
6 "btn_on_url"
7 "btn_off_url"
8 "longpush_url"
9 "shortpush_url"
10 "out_on_url"
11 "out_off_url"
12 "roller_open_url"
13 "roller_close_url"
14 "roller_stop_url"
hwinfo
hw_revision "prod-191217"
batch_id 1
mode "roller"
max_power 1840
longpush_time 800
relays
0
name null
appliance_type "General"
ison false
has_timer false
default_state "switch"
btn_type "toggle"
btn_reverse 0
auto_on 0
auto_off 0
max_power 0
schedule false
schedule_rules []
1
name null
appliance_type "General"
ison false
has_timer false
default_state "switch"
btn_type "toggle"
btn_reverse 0
auto_on 0
auto_off 0
max_power 0
schedule false
schedule_rules []
rollers
0
maxtime 20
maxtime_open 21
maxtime_close 20
default_state "stop"
swap false
swap_inputs false
input_mode "openclose"
button_type "momentary"
btn_reverse 0
state "stop"
power 0
is_valid true
safety_switch false
schedule false
schedule_rules
0 "0000asr-0123456-open"
obstacle_mode "disabled"
obstacle_action "stop"
obstacle_power 200
obstacle_delay 1
ends_delay 2500
safety_mode "while_opening"
safety_action "stop"
safety_allowed_on_trigger "none"
off_power 2
positioning true
favorites_enabled true
favorites
0
name "Day"
pos 78
1
name "Position 2"
pos 0
2
name "Position 3"
pos 0
3
name "Position 4"
pos 0
eco_mode_enabled true
Alles anzeigen