Seite 2 von 2

Re: Nachkommazahl in time series in Prozent anzeigen

Verfasst: 26. Feb 2026 01:04
von hermann59
Installation of solix2mqtt on my raspberry pi (from my docu, to be edited):

• cd /home/openhabian
• mkdir bin
• cd bin
• git clone https://github.com/tomquist/solix2mqtt.git
• cd solix2mqtt
• npm install && npm run build
• gesicherte Datei “S:\SmartHome\SmartHome Konfigurationsdateien\home\openhabian\bin\solix2mqtt.service” nach „/home/openhabian/bin/solix2mqtt.service“ hochladen
• cd /etc/systemd/system
• sudo ln -s /home/openhabian/bin/solix2mqtt.service solix2mqtt.service
• sudo systemctl daemon-reload
• sudo systemctl start solix2mqtt
• sudo systemctl enable solix2mqtt

My solix2mqtt.service, to be edited:

Code: Alles auswählen

[Unit]
Description=Collector of the Anker Solix Cloud Data
After=mosquitto.target network-online.target
Wants=mosquitto.target network-online.target

[Service]
SuccessExitStatus=143

User=root
Group=root

Type=simple
Restart=always
RuntimeMaxSec=1d

WorkingDirectory=/home/openhabian/bin/solix2mqtt

Environment="S2M_USER=<email address at anker>"
Environment="S2M_PASSWORD=<password at anker>"
Environment="S2M_COUNTRY=DE"
Environment="S2M_MQTT_URI=mqtt://smarthome:1883"
Environment="S2M_MQTT_TOPIC=solixSpeicherPV"
Environment="S2M_VERBOSE=true"

ExecStart=npm run start

ExecStop=/bin/kill -15 $MAINPID

[Install]
WantedBy=multi-user.target
after installation the service sends the data to your mqtt broker. I use the tool MQTT.fx to find out, which data it sends. Afterwards I created a Generic MQTT Thing with channels I need by configuring the incoming value transformation.

Re: Nachkommazahl in time series in Prozent anzeigen

Verfasst: 26. Feb 2026 01:50
von udo1toni
Hier soll eigentlich nur in deutsch gepostet werden :)