- platform: mqtt
name: Tapparella Sala
- command_topic: "shellies/shellyswitch-135454/roller/0/command"
- position_topic: "shellies/shellyswitch-135454/roller/0/pos"
- set_position_topic: "shellies/shellyswitch-135454/roller/0/command/pos"
+ command_topic: "shellies/shellyswitch25-6919BD/roller/0/command"
+ position_topic: "shellies/shellyswitch25-6919BD/roller/0/pos"
+ set_position_topic: "shellies/shellyswitch25-6919BD/roller/0/command/pos"
payload_open: "open"
payload_close: "close"
payload_stop: "stop"
# Shelly 2 Tapparella Sala
- service: mqtt.publish
data:
- topic: 'shellies/shellyswitch-135454/command'
+ topic: 'shellies/shellyswitch25-6919BD/command'
payload: 'update_fw'
# Shelly 2 Tapparella Studio
- update
- uptime
+######################################################################
+# Sensor: Shelly 10
+######################################################################
+
+- platform: rest
+ scan_interval: 43200
+ resource: http://shelly10.giorgioravera.it/status
+ method: GET
+ name: shelly10_status
+ #value_template: '{{ value_json.has_update }}'
+ value_template: >-
+ {% if value_json.has_update == True %}
+ on
+ {% else %}
+ off
+ {% endif %}
+ authentication: basic
+ username: !secret shelly_user
+ password: !secret shelly_password
+ json_attributes:
+ # - wifi_sta
+ # - mqtt
+ # - time
+ # - has_update
+ - mac
+ - update
+ - uptime
+
######################################################################
# Sensor: Shelly Bulb
######################################################################
PASSWORD=$(awk '/mqtt_password/ { print $2 }' $HASS_HOME/secrets.yaml)
SHELLY_ID=(
shellyswitch-55980F
- shellyswitch-135454
+ shellyswitch25-6919BD
shellyswitch-13572B
shellyswitch-559C49
shelly1-24D1EE
shelly7.giorgioravera.it
shelly8.giorgioravera.it
shelly9.giorgioravera.it
- shelly7.giorgioravera.it
+ shelly10.giorgioravera.it
shellybulb.giorgioravera.it
shellyem.giorgioravera.it
shellyplugs.giorgioravera.it