johanmeijer / grott

Growatt inverter monitor
https://github.com/johanmeijer/grott/wiki
374 stars 103 forks source link

Grott - libscrc not installed, no CRC checking only record validation on length! #544

Closed carlosandtheo closed 2 months ago

carlosandtheo commented 2 months ago

Appreciate if you can suggest why my instance of Grott keeps stopping. Grott log below showing 'Grott - libscrc not installed, no CRC checking only record validation on length!' It has been working previously.

Grott Beta branch (2.8) s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service base-addon-banner: starting


Add-on: Grott Beta branch (2.8) The Growatt inverter monitor with current HA plugin integrated

Add-on version: 0.1.7 You are running the latest version of this add-on. System: Home Assistant OS 12.1 (aarch64 / raspberrypi4-64) Home Assistant Core: 2024.4.2 Home Assistant Supervisor: 2024.04.0

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service base-addon-banner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service base-addon-log-level: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service base-addon-log-level successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started [21:22:34] INFO: Preparing to start...


 - Grott - libscrc not installed, no CRC checking only record validation on length!
 **********************************************************************************

Grott Growatt logging monitor : 2.8.3

Grott process configuration file

Grott process environmental variables

Pulled 'ginvtype=default' from the environment

Pulled 'gnomqtt=True' from the environment

Pulled 'gextension=True' from the environment

Pulled 'gextname=grottext.ha' from the environment

Pulled 'gextvar={"ha_mqtt_host": "core-mosquitto", "ha_mqtt_port": "1883", "ha_mqtt_user": "addons", "ha_mqtt_password": "VueHequ7sheotoh4she3EV9la6QuuBuchooku8shae4raepiu6kurieba9baiqu8", "ha_mqtt_retain": False}' from the environment

Grott override settings if set in commandline

Grott process json layout files

Grott proxy mode started


 - Grott - libscrc not installed, no CRC checking only record validation on length!
 **********************************************************************************

Hostname : 1ef934e0-grott-beta IP : 172.30.33.2 , port : 5279

carlosandtheo commented 2 months ago

To add to the GROTT log above, this is the log from MQTT [08:42:58] INFO: Starting mosquitto MQTT broker... 2024-04-10 08:42:58: mosquitto version 2.0.18 starting 2024-04-10 08:42:58: Config loaded from /etc/mosquitto/mosquitto.conf. 2024-04-10 08:42:58: Loading plugin: /usr/share/mosquitto/go-auth.so 2024-04-10 08:42:58: Warning: Mosquitto should not be run as root/administrator. 2024-04-10 08:42:58: ├── Username/password checking enabled. 2024-04-10 08:42:58: ├── TLS-PSK checking enabled. 2024-04-10 08:42:58: └── Extended authentication not enabled. 2024-04-10 08:42:58: Opening ipv4 listen socket on port 1883. 2024-04-10 08:42:58: Opening ipv6 listen socket on port 1883. 2024-04-10 08:42:58: Opening websockets listen socket on port 1884. 2024-04-10 08:42:58: mosquitto version 2.0.18 running 2024-04-10 08:42:58: New connection from 127.0.0.1:42604 on port 1883. 2024-04-10 08:42:58: Client disconnected due to protocol error. [08:43:00] INFO: Successfully send discovery information to Home Assistant. [08:43:00] INFO: Successfully send service information to the Supervisor. 2024-04-10 08:43:19: New connection from 172.30.32.1:55205 on port 1883. 2024-04-10 08:43:19: New client connected from 172.30.32.1:55205 as 398b05C4Spr9Xhj4NMgH9m (p2, c1, k60, u'mqtt'). 2024-04-10 08:44:06: New connection from 172.30.32.2:40428 on port 1883. 2024-04-10 08:44:06: Client closed its connection. 2024-04-10 08:46:06: New connection from 172.30.32.2:35262 on port 1883. 2024-04-10 08:46:06: Client closed its connection.

carlosandtheo commented 2 months ago

I found that the problem related to Growatt server ip change, This countermeasure corrected the issue https://github.com/johanmeijer/grott/issues/542#issuecomment-2027914946.