#Modbus correct usage / configuration

1 messages · Page 1 of 1 (latest)

worldly marsh
#

just generated a thread

opaque quartz
#

That's the downside of polling

#

too much polling, you slow things down.

worldly marsh
# opaque quartz That's the downside of polling

yes sure.. .but i feel this is wrong implementd from my side..
in IO-Broker I did not configure any polling...
here in HA I only get updates when i set per each variable the polling...
i have the feeling I poll each variable separate....
...would help eventually when I am able to poll all in one...
(am i doing the config wron? or is it a must to request verify for each separate?) i am only abe to do so... 😦

opaque quartz
#

it depends on your yaml

#

it looks like the scan interval is only on each entity

#

not as a whole, so they will be separately polled essentially

#

but, that's typically how modbus works over serial

worldly marsh
#

Hey Petro thx for your reply......

my yaml looks like this... :
`
# WAGO OG
- name: "WAGO_OG"
host: 192.168.178.199
type: tcp
port: 502
delay: 0
message_wait_milliseconds: 30
retries: 3
timeout: 5

  switches:   
    # Taster getriggert durch Wandtaser Taster Zimmer3-3
    - name: OG_Schlafz_LED_Bett
      write_type: coil
      address: 12290  
      scan_interval: 1 
      verify:
        input_type: coil
        address: 12290

  # schalter für Automatische Beschattung Rolladen / Raffstores OG
    - name: OG_Schlafz_Beschattung_Treppe 
      write_type: coil
      address: 12291
      scan_interval: 1 
      verify:

`

if it would work with only one general scan intervall this would be great.. .but i do not get it runbning in that way