Skip to content

WebSerial

Rocky edited this page Feb 17, 2024 · 5 revisions

WebSerial

WebSerial is used to publish command directly to the device. In addition, WebSerial issues a message each time Solar2MQTT has received data from the inverter and has published it on the MQTT broker: „Data sent to MQTT Server… Done“.

Warning: Commands are not checked by Solar2MQTT. Incorrect commands can damage the inverter and whatsoever. Command lists can be found here: https://github.com/softwarecrash/Solar2MQTT/tree/master/Protocol

Call WebSerial

Aspose Words b10c2ea8-6b76-442b-ba9f-8fb48c37d40a 001

Function

Aspose Words b10c2ea8-6b76-442b-ba9f-8fb48c37d40a 002

The following two commands can be tried if your inverter uses the P18 protocol:

Command Function
^P005PI Query protocol ID
^P004T Query current time

The response to the commands is not shown in WebSerial. It can be viewed within the MQTT Explorer. The description for this can be found in the Solar2MQTT-Wiki in the chapter "Set Parameters".

Written by ESP64

Clone this wiki locally