Skip to content

Set modbus register 22, 23 and 24 with current date and time while starting to prevent Yield today break #383

Answered by davidrapan
RothMick asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @RothMick, thank you for your kind words! You can already set time using HA automation which can have trigger when device comes back online:

alias: Inverter Time Synchronization
description: Set device's time to `now()`
triggers:
  - trigger: state
    entity_id:
      - binary_sensor.inverter_connection
    to: "on"
conditions: []
actions:
  - data:
      datetime: "{{ now() }}"
    target:
      entity_id: datetime.inverter_date_time
    action: datetime.set_value
mode: single

Also there is a better way of cutting off connection to solarman servers. By clearing out Server A & Optional Server Setting input boxes at http://{inverter_ip}/config_hide.html

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@RothMick
Comment options

Answer selected by davidrapan
Comment options

You must be logged in to vote
3 replies
@davidrapan
Comment options

@RothMick
Comment options

@davidrapan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants