This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| modbus: | |
| - name: solinteg | |
| type: rtuovertcp | |
| host: 192.168.1.200 # YOUR INVERTER FIXED IP HERE | |
| port: 5743 | |
| delay: 0 | |
| message_wait_milliseconds: 30 | |
| timeout: 5 | |
| sensors: | |
| - name: Solinteg Inverter SN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| jq -r --arg node $2 'map(if .[$node]|type == "string" then .[$node] |= fromjson else . end)' $1 |