DennisS
(Dennis)
June 20, 2021, 6:51pm
1
Hi,
i have a homeassistant running on a raspberry pi.
the configuration contains modbus links to siemens logo.
After the latest update of HA i get the status but can’t trigger the relais (coils).
in the previous version it works like a charm.
I know the configuration has changed but i can’t seem to get it to work in the new version.
Can someone help me?
current config :
modbus:
name: Stalling
type: tcp
host: 192.168.XX.17
port: 504
name: Berging
type: tcp
host: 192.168.XX.18
port: 505
name: Zolder
type: tcp
host: 192.168.XX.19
port: 504
name: Brievenbus
type: tcp
host: 192.168.XX.20
port: 502
switch:
platform: modbus
coils:
name: autos
hub: Stalling
slave: 3
coil: 8256
name: stalling
hub: Stalling
slave: 3
coil: 8257
name: bypass
hub: Stalling
slave: 3
coil: 8258
name: lavabo
hub: Zolder
slave: 2
coil: 8256
name: douche
hub: Zolder
slave: 2
coil: 8257
name: speelkamer_trap
hub: Berging
slave: 1
coil: 8256
name: projector
hub: Berging
slave: 1
coil: 8257
name: slaapkamer
hub: Berging
slave: 1
coil: 8258
name: eiland
hub: Berging
slave: 1
coil: 8260
name: dampkap
hub: Berging
slave: 1
coil: 8261
…
Any help is much appreciated.
Thanks,
Dennis
myle
(StePhan McKillen (Other kiwi Here))
June 20, 2021, 8:37pm
2
try formating you code so we can read it
1 Like
DennisS
(Dennis)
June 20, 2021, 8:46pm
3
default_config:
tts:
platform: google_translate
xiaomi_aqara:
gateways:
host: 192.168.XX.147
mac: ------
key: --------
media_player:
platform: emby
host: 192.168.XX.254
api_key: -----------------
nest:
client_id: ----------
client_secret: ------------
project_id:--------------------
subscriber_id: --------------------
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
ip_ban_enabled: false
login_attempts_threshold: 5
modbus:
name: Stalling
type: tcp
host: 192.168.XX.17
port: 504
name: Berging
type: tcp
host: 192.168.XX.18
port: 505
name: Zolder
type: tcp
host: 192.168.XX.19
port: 504
name: Brievenbus
type: tcp
host: 192.168.XX.20
port: 502
input_boolean:
autos:
name: autos
stalling:
name: stalling
lavabo:
name: lavabo
douche:
speelkamer_trap:
projector:
slaapkamer:
eiland:
dampkap:
living_indirect:
tafel_algemeen:
buiten_voor:
eettafel:
trap:
inkom:
living:
buiten_achter:
hekken:
ventilatie:
trap2:
bypass:
pad:
name: pad
switch:
platform: modbus
coils:
name: autos
hub: Stalling
slave: 3
coil: 8256
name: stalling
hub: Stalling
slave: 3
coil: 8257
name: bypass
hub: Stalling
slave: 3
coil: 8258
name: lavabo
hub: Zolder
slave: 2
coil: 8256
name: douche
hub: Zolder
slave: 2
coil: 8257
name: speelkamer_trap
hub: Berging
slave: 1
coil: 8256
name: projector
hub: Berging
slave: 1
coil: 8257
name: slaapkamer
hub: Berging
slave: 1
coil: 8258
name: eiland
hub: Berging
slave: 1
coil: 8260
name: dampkap
hub: Berging
slave: 1
coil: 8261
name: living_indirect
hub: Berging
slave: 1
coil: 8262
name: eettafel
hub: Berging
slave: 1
coil: 8276
name: keuken_indirect
hub: Berging
slave: 1
coil: 8264
name: tafel_algemeen
hub: Berging
slave: 1
coil: 8265
name: buiten_voor
hub: Berging
slave: 1
coil: 8266
name: trap
hub: Berging
slave: 1
coil: 8267
name: inkom
hub: Berging
slave: 1
coil: 8268
name: living
hub: Berging
slave: 1
coil: 8269
name: buiten_achter
hub: Berging
slave: 1
coil: 8270
name: hekken
hub: Berging
slave: 1
coil: 8271
name: ventilatie
hub: Berging
slave: 1
coil: 8272
name: trap2
hub: Berging
slave: 1
coil: 8275
name: pad
hub: Brievenbus
slave: 4
coil: 8256
binary_sensor:
platform: modbus
scan_interval : 2
coils:
name: pad
hub: Brievenbus
slave: 4
coil: 8193
device_class: light
name: autos
hub: Stalling
slave: 3
coil: 8192
device_class: light
name: stalling
hub: Stalling
slave: 3
coil: 8193
device_class: light
name: bypass
hub: Stalling
slave: 3
coil: 8259
name: lavabo
hub: Zolder
slave: 2
coil: 8192
device_class: light
name: douche
hub: Zolder
slave: 2
coil: 8193
device_class: light
name: speelkamer_trap
hub: Berging
slave: 1
coil: 8192
device_class: light
name: projector
hub: Berging
slave: 1
coil: 8193
device_class: light
name: slaapkamer
hub: Berging
slave: 1
coil: 8194
device_class: light
name: eiland
hub: Berging
slave: 1
coil: 8196
device_class: light
name: dampkap
hub: Berging
slave: 1
coil: 8197
device_class: light
name: living_indirect
hub: Berging
slave: 1
coil: 8198
device_class: light
name: eettafel
hub: Berging
slave: 1
coil: 8199
device_class: light
name: keuken_indirect
hub: Berging
slave: 1
coil: 8200
device_class: light
name: tafel_algemeen
hub: Berging
slave: 1
coil: 8201
device_class: light
name: buiten_voor
hub: Berging
slave: 1
coil: 8202
device_class: light
name: trap
hub: Berging
slave: 1
coil: 8203
device_class: light
name: inkom
hub: Berging
slave: 1
coil: 8204
device_class: light
name: living
hub: Berging
slave: 1
coil: 8205
device_class: light
name: buiten_achter
hub: Berging
slave: 1
coil: 8206
device_class: light
name: hekken
hub: Berging
slave: 1
coil: 8207
device_class: light
name: ventilatie
hub: Berging
slave: 1
coil: 8208
device_class: light
name: trap2
hub: Berging
slave: 1
coil: 8211
device_class: light
camera:
platform: generic
still_image_url: -------------
stream_source: “rtsp://---------------------channel=2&subtype=0”
name: “hekken”
verify_ssl: false
username: ------
password: -------
authentication: digest
platform: generic
still_image_url: --------------
stream_source: “rtsp://a------------channel=1&subtype=1”
name: “Tuin”
verify_ssl: false
username: ----------
password: -----------
authentication: digest
platform: generic
still_image_url: ----------------
stream_source: “rtsp://a------------------channel=1&subtype=1”
name: “Autos”
verify_ssl: false
username: -----------
password: -------------
authentication: digest
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
Hi @DennisS ,
Before updating your HA instance, it’s recommended to go through the release notes. It can save you a lot of time. The team does a very good job in documenting all breaking changes linked to a release.
In the release 2021.6, a breaking change in the Modbus integration was announced.
Link: 2021.6: A little bit of everything - Home Assistant
The configuration style has changed, to secure against illegal configurations.
1 Like