Code Monkey home page Code Monkey logo

solar2mqtt's People

Contributors

all-solutions avatar daromer2 avatar derloosi avatar scottwday avatar softwarecrash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

solar2mqtt's Issues

POW-HVM6.2M-48V

What device are you using?

Working on my unit right now.
Inverter: PowMr POW-HVM6.2M-48V
Software: Solar2MQTT 1.1.1A2
Device:
D1 Mini Pro
RS232 TTL converter

password length

home assistant defaults to 64 characters. (somehow I can't get around it)
You have 40 characters in the settings, it needs to be corrected.
without it, it is impossible to connect to the MQTT

Password:
Phohfa6ie4ea4ohchohp8chaiMoa7Ge6vej5ieth2phohyah1Aquohhahj9eicao

mqtt log :
1629120146: New connection from 192.168.22.175 on port 1883.
1629120146: Socket error on client , disconnecting.

[Bug]: does not hand in data,but it mqtt accession signals it

Is there an existing issue for this?

  • I have searched the existing issues

Used Hardware?

Other (please write your hardware in 'What happened?')

What happened?

Onto ready one was tackling I use a supply:
https://all-solutions.store/de/shop/solar2mqtt-set/?fbclid=IwAR3cGeClP7fJlM98zeJZKsQ3pgoEdsneDGYULCUFgtfJaek6UM9SHP44Jzw

Does not work well, it mqtt contact good, but does not show data on the web application surface. Once good, restarted later not good.
The apparatus signals it how was attached, but does not send data. But is when works and sends it. But I do not see data again now!
My inverter: Qoltec 53886 Watchpower application and wifi added to him an apparatus works.

Screenshots / Fotos

mqtt2solar

Steps To Reproduce

No response

Version

1.x.x and above

Relevant livejson output

{"EspData":{"Device_name":"Solar2MQTT","ESP_VCC":2.981,"Version":"1.0.0"},"DeviceData":{},"LiveData":{}}

What browsers are you seeing the problem on?

Chrome

Node MCU support

A clear and concise description of what the problem is.

Hi, Thanks for this great library. How can I flash the bin file in my Node MCU or even Can I?
What configs do I need to change to work with Node MCU.

Additional context

No response

New working device

What device are you using?

Inverter: Axpert MKS IV 5.6K-48V

Inverter firm:
-Main CPU: 00074.01
-Secondary CPU: 00030.00
-Wifi Module: 3.1.1.0

Protocol detected: PI30

Solar2MQTT: V1.1.6

P.S. Solar2MQTT detects an older model MKS2-5600. This newer inverter has some more datapoints which are not managed by actual templates so they are not shown at HA integration.

Receive JSON data

Hi,

I am testing your first release and the only JSON data that I get from the inverter is pBattV and battPercent.
I am doing something wrong or it's a bug ? I am trying to insert the rest of the data to influxdb but it seems that I need the data as JSON (only pBattV and battPercent are in my database). Attached you can find a screenshot from MQTT explorer.
https://ibb.co/GCrLGgp

Thank you!

no data display

I have a easun 24v 2,4kw inverter , i change this value
// PCM and PIP inverters use below
QpiMessage _qpiMessage = {97};
QpigsMessage _qpigsMessage = {110};
QmodMessage _qmodMessage = {5};
QpiwsMessage _qpiwsMessage = {36};
QflagMessage _qflagMessage = {0};
QidMessage _qidMessage = {0};

but i see all value to 0

i try whit this value but not work

QflagMessage _qflagMessage = {15};
QidMessage _qidMessage = {18};

the mqtt works great

wifi = { "FreeRam": 37464, "rssi": -43, "dbm": 100}
Info = {"Status":"Im alive!", "DeviceType": "PIP","IP ":"192.168.0.182"}

PCM - Data in wrong order

Hi Rocky,

I'm here because of your message on "daromer2".
You were right this fork has given me some results but they seem to be in the wrong order.

I have set the type to PCM
Screenshot 2021-03-28 at 19 31 02

Is it a case of just moving some of the variables around or have I messed something up?

Easun IGRID SV II 5 KW - All values are Zero

Hi ,
I have an Easun IGRID SV II 5 KW , have made all the hardware connection and it looks ok , tested in couple of ways , but all values are Zero .
Debugging is ON and I get the following :

Sent Command: QPIGS
Calc: E300 Rx: E300
Recived: ^0
message recived
Sent Command: QMOD
Calc: E300 Rx: E300
Recived: ^0
Sent Command: QPIGS
Calc: E300 Rx: E300
Recived: ^0
Sent Command: QMOD
Calc: E300 Rx: E300
Recived: ^0
Sent Command: QPIGS
Calc: E300 Rx: E300
Recived: ^0
Sent Command: QMOD
Calc: E300 Rx: E300
Recived: ^0
Sent Command: QPIGS
Calc: E300 Rx: E300
Recived: ^0
Data sent to MQTT Server
Sent Command: QMOD
Calc: E300 Rx: E300
Recived: ^0
Sent Command: QPIGS
Calc: E300 Rx: E300
Recived: ^0
message recived
Sent Command: QMOD
Calc: E300 Rx: E300
Recived: ^0
Sent Command: QPIGS
Calc: E300 Rx: E300
Recived: ^0
message recived
Sent Command: QMOD
Calc: E300 Rx: E300
Recived: ^0
Sent Command: QPIGS
Calc: E300 Rx: E300
Recived: ^0
Sent Command: QMOD
Calc: E300 Rx: E300
Recived: ^0

Can you point me in the wright direction please !

Kodak/Axpert/PIP OG5.48

Your repo looks perfect for what I am doing to link to Home Assistant, amazing work!!

What are the chances that the D1-Mini is powered and communicates on the built-in USB port D1 Mini side and then the USB output (Micro-USB) on the Inverter?

The Micro USB port works as I have had ned-Kellys' Voltronic working perfectly on it on a Pi. But it popped, unfortunately.

I am hoping the pics help to explain. Basically USB to USB.

WhatsApp Image 2023-02-17 at 20 17 28 (1)

WhatsApp Image 2023-02-17 at 20 17 28

TIA

Daz

[HELP] ESP8266

instead of using wemos d1 mini can I use an nodeMCU esp8266 (like the one in the photo)?
51y7hu31PbL AC_UF1000,1000_QL80

Additional context

No response

[Bug]: PV-Volt falscher Wert, PV-Volt and PV-A ohne Nachkommastelle

Is there an existing issue for this?

  • I have searched the existing issues

Used Hardware?

Wemos D1 Mini

What happened?

  1. PV-Volt wird falsch angezeigt.
  2. PV-Volt und PV-A haben keine Nachkommastelle

Ich benutze einen Solar Wechselrichter EASun Inverter SMP5K.
Ich habe noch parallel einen EaSun iSolar SMV II mit 5KVA laufen und habe die Werte mit solpiplog verglichen und die richtigen Stellen gefunden. Ich kann die aktuellen Werte von PV-Volt überhaupt nicht finden.

Per Screenshot habe ich den MQTT-Output von Solar2Mqtt an den richtigen Stellen markiert.
Leider kann ich in den nächsten Wochen nicht mit LiveView nachschauen. Ich hoffe das hilft weiter. Der Fehler ist konsistent nachvollziebar und in QPIGS immer an der gleicher Position.

Screenshots / Fotos

grafik

grafik

Steps To Reproduce

No response

Version

0.5.1

Relevant livejson output

{"gridV":0,"gridHz":0,"acOutV":230.1,"acOutHz":50,"acOutVa":69,"acOutW":39,"acOutPercent":1,"busV":371,"heatSinkDegC":45,"battV":50.2,"battPercent":80,"battChargeA":17,"battDischargeA":0,"sccBattV":0,"solarV":20,"solarA":3,"solarW":1003,"iv_mode":"Battery","device_name":"EaSun2"}

What browsers are you seeing the problem on?

no Issue with the Browser or WebUI

error compile

Hi,
i try bin file, work ok (problem if not write PIP) but i need to modify some data, place direct MQTT data to script but i get error compilling using arduino IDE:

Arduino: 1.8.13 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from c:\users\user\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\assert.h:10,

             from c:\users\user\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\sys\reent.h:503,

             from c:\users\user\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\stdlib.h:18,

             from c:\users\user\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\cstdlib:75,

             from c:\users\user\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed\xtensa-lx106-elf\include\c++\10.3.0\stdlib.h:36,

             from C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/Arduino.h:27,

             from sketch\src.ino.cpp:1:

C:\Users\user\Documents\Arduino\libraries\WhareHauoraWiFiManager/WiFiManager.h:25:24: error: 'const char HTTP_HEAD []' redeclared as different kind of entity

25 | const char HTTP_HEAD[] PROGMEM = "<html lang="en"><meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/><title>{v}</title>";

  |                        ^~~~~~~

In file included from C:\Users\user\Documents\Arduino\libraries\WhareHauoraWiFiManager/WiFiManager.h:17,

             from C:\Users\user\Desktop\arduino\solar\Solar2MQTT-master\Solar2MQTT-master\src\src.ino:10:

C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WebServer\src/ESP8266WebServer.h:47:39: note: previous declaration 'HTTPMethod HTTP_HEAD'

47 | enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };

  |                                       ^~~~~~~~~

C:\Users\user\Desktop\arduino\solar\Solar2MQTT-master\Solar2MQTT-master\src\src.ino: In lambda function:

src:190:47: error: 'sendHTMLmain' was not declared in this scope

190 | server.send(200, "text/html", sendHTMLmain());

  |                                               ^~~~~~~~~~~~

C:\Users\user\Desktop\arduino\solar\Solar2MQTT-master\Solar2MQTT-master\src\src.ino: In lambda function:

src:204:47: error: 'sendHTMLconfirmReset' was not declared in this scope

204 | server.send(200, "text/html", sendHTMLconfirmReset());

  |                                               ^~~~~~~~~~~~~~~~~~~~

C:\Users\user\Desktop\arduino\solar\Solar2MQTT-master\Solar2MQTT-master\src\src.ino: In lambda function:

src:220:47: error: 'sendHTMLsettings' was not declared in this scope

220 | server.send(200, "text/html", sendHTMLsettings());

  |                                               ^~~~~~~~~~~~~~~~

C:\Users\user\Desktop\arduino\solar\Solar2MQTT-master\Solar2MQTT-master\src\src.ino: In lambda function:

src:226:47: error: 'sendHTMLsettingsEdit' was not declared in this scope

226 | server.send(200, "text/html", sendHTMLsettingsEdit());

  |                                               ^~~~~~~~~~~~~~~~~~~~

exit status 1

'sendHTMLmain' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

A new working device!

What device are you using?

PowMr 1500W Solar Hybrid Wechselrichter 12V DC auf 220V/230V AC mit 80A MPPT Solarregler Max. PV-Eingang 450V

and

EDECOA EM-161A

I can´t which Firmware Version the above Hybrid Inverters use.... but both are sending MQTT Messages to IOBroker just fine.
Thanks to softwarecrash !!

[HELP] commands via MQTT not accepted

A clear and concise description of what the problem is.

My inverter with Solar2MQTT works extremely well, using latest version 1.1.0 on a D1 mini.
Protocol to inverter using PI30.
Receiving all good info onto web page and also passing through via MQTT to my Openhab system.
I can also send successfully inverter commands via the web serial page successfully.
However, the inverter seems to not respond to any commands sent via MQTT using : topic/Device_Control/Set_Command
e.g. inverter2/Device_Control/Set_Command/POP00
I loaded the debug version onto D1 mini and via the web serial interface could I then see the comms between D1 mini and inverter, sending commands from the web is all good and one can see how the inverter reacts, i.e. accepting or rejecting etc.
But sending commands from MQTT, nothing comes up on the serial interface.
Does the firmware accept external commands via http? i.e. could I send commands directly to the D1 mini via http to accept commands?

Additional context

No response

Solar2mqtt auto discovery

A clear and concise description of what the problem is.

I have mosquito broker installed on HA and multiple devices connected. Ha discovery is enabled.
When Solar2mqtt is connected to broker, mqtt explorer shows data but its not discovered in HA. I think HA discovery option in Solar2mqtt is not working. I have tested with second instance of HA and result is the same, no discovery.
But in Daly2mqtt that i have too, autodiscovery is working fine ...

solar2mqtt

Screenshot_20240204_114827_Chrome

Additional context

No response

Realme

What device are you using?

A new working device!

[Bug]: Not reading W consumption values

Is there an existing issue for this?

  • I have searched the existing issues

Used Hardware?

Wemos D1 Mini

What happened?

Correct loading of inverter consumption values

Screenshots / Fotos

From the beginning it worked for approx. 2 days, after that the consumption is loaded once in approx. 2 hours, charging the battery, etc. everything is fine
obrazek

Steps To Reproduce

No response

Version

0.5.1

Relevant livejson output

Solar In:
0V 0A 0W
Grid In:
1V 0Hz
AC Out:
228V 50Hz
AC Load:
0Va 0W 0%
Bus:
391V
Temperature:
342°C
Battery:
27.19V 100% 100%
SCC | IN | Out:
0V 0A 1A
Inverter Mode:
Battery

What browsers are you seeing the problem on?

Firefox

only QPIGS

i test software on MPP Solar GK model, and i see only QPIGS command request. other command not sent.

Protocol 17 Voltronic Mppsolar FSP needed

Is your feature request related to a problem? Please describe

Hi and thank you for your great work!

How can I implement the protocol P17 which is linked as alternative protocol?

(if you want we can speak German)

Thank you! :-)
Stefano

Describe the solution you'd like

implement the protocol P17

Describe alternatives you've considered

implement the protocol P17

Additional context

No response

New working device

What device are you using?

A new working device!
Masterpower Omega UM v4 / 24V 3600Watt

New working easun igrid sv iv 5.6 kW device

What device are you using?

Good afternoon, respect for your work.

I have a hybrid inverter easun igrid sv iv 5.6 kW (which can mix electricity) I can’t make an animation for it.

sensor.solar2mqtt_pv_charging_power
sensor.solar2mqtt_ac_out_watt

power card

AC(inverter&grid) input Watt
how to get data for the Power flow card plus and Home Asistant Energy card

AC(inverter&grid) input Watt or sensor.solar2mqtt_ac_out_watt - sensor.solar2mqtt_pv_charging_power

Inverter USB hidraw Interface

I wonder if somebody was able connecting the ESP8266 to the USB interface of the inverter.
My PIP2424MSE doesn´t provide a RS232 port, even not internal. On Linux, the inverter port is discovered as a HID device.

Connecting a USB cable from a WEMOS D1 to the inverter didn´t work, at least no values are shown (only 0) on the Solar2MQTT.

Not sure if the onboard ESP-UART0 -> CH340 -> USB cable -> InverterPort could work at all?

[Bug]: AC_in_Voltage is 0

Is there an existing issue for this?

  • I have searched the existing issues

Used Hardware?

Wemos D1 Mini

What happened?

AC_in_Voltage is 0 on the Webinterface and also in MQTT LiveData
QPIGS does contain the correct Voltage.

Screenshots / Fotos

image_2023-09-18_08-59-27

Screenshot 2023-09-18 091324

Steps To Reproduce

  • Connect you Solar2MQTT to your Inverter
  • Visit the Webinterface
  • find out that it shows 0 at AC input Voltage
  • Check the MQTT Broker
  • find out that it shows 0 at LiveData/AC_in_Voltage
  • find out that it gets the correct value in RAW/QPIGS

Version

1.x.x and above

Relevant livejson output

{"EspData":{"Device_name":"StecaWiFi","ESP_VCC":3.015,"Wifi_RSSI":-60,"sw_version":"1.1.0_debug d1_mini Sep 16 2023 20:29:29","Free_Heap":18336,"HEAP_Fragmentation":6,"json_memory_usage":1169,"json_capacity":4096,"runtime":1172,"ws_clients":0},"DeviceData":{"AC_in_rating_voltage":230,"AC_in_rating_current":21.7,"AC_out_rating_voltage":230,"AC_out_rating_frequency":50,"AC_out_rating_current":21.7,"AC_out_rating_apparent_power":5000,"AC_out_rating_active_power":5000,"Battery_rating_voltage":48,"Battery_re-charge_voltage":48,"Battery_under_voltage":46,"Battery_bulk_voltage":56.4,"Battery_float_voltage":56.4,"Battery_type":"User","Current_max_AC_charging_current":2,"Current_max_charging_current":30,"Input_voltage_range":"Appliance","Output_source_priority":"SBU first","Charger_source_priority":"Solar first","Parallel_max_num":9,"Machine_type":"Off Grid","Topology":"Transformerless","Output_mode":0,"Battery_re-discharge_voltage":52,"PV_OK_condition_for_parallel":0,"PV_power_balance":1,"Max_charging_time_at_CV_stage":300,"Protocol_ID":"PI30"},"LiveData":{"AC_in_Voltage":0,"AC_in_Frequenz":50,"AC_out_Voltage":230,"AC_out_Frequenz":50,"AC_out_VA":115,"AC_out_Watt":62,"AC_out_percent":2,"Inverter_Bus_Voltage":374,"Battery_Voltage":53,"Battery_Charge_Current":2,"Battery_Percent":66,"Inverter_Bus_Temperature":31,"PV_Input_Current":4,"PV_Input_Voltage":96.2,"Battery_SCC_Volt":52.88,"Battery_Discharge_Current":0,"Status_Flag":110110,"Battery_voltage_offset_fans_on":0,"EEPROM_Version":0,"PV_Charging_Power":248,"Device_Status":10,"Battery_Load":2,"PV_Input_Power":384,"Inverter_Operation_Mode":"Battery"}}

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

MPPSolar 5KVA 48v HST4048

Is there an existing issue for this?

  • I have searched the existing issues

Used Hardware?

Wemos D1 Mini

What happened?

Hallo, dieser Wechselrichter ist eine Version mit drei Ladereglern, diese werden auch über watchpower angezeigt und verwaltet. Leider zeigt mir solar2mqtt nur einen Laderegler (PV) über MQTT an, gibt es eine Möglichkeit diese auch zu erfassen?

English:
Hello, this inverter is a version with three charge controllers, these are also displayed and managed via watchpower. Unfortunately, solar2mqtt only shows me one charge controller (PV) via MQTT, is there a way to record these as well?

Screenshots / Fotos

image

image

Steps To Reproduce

No response

Version

1.x.x and above

Relevant livejson output

{"EspData":{"Device_name":"MPPSolar5kVA","ESP_VCC":2.993,"Wifi_RSSI":-68,"sw_version":"1.1.3","Free_Heap":23528,"HEAP_Fragmentation":10,"json_memory_usage":1079},"DeviceData":{"AC_in_rating_voltage":230,"AC_in_rating_current":21.7,"AC_out_rating_voltage":230,"AC_out_rating_frequency":50,"AC_out_rating_current":21.7,"AC_out_rating_apparent_power":5000,"AC_out_rating_active_power":4000,"Battery_rating_voltage":48,"Battery_re-charge_voltage":48,"Battery_under_voltage":47.6,"Battery_bulk_voltage":55.2,"Battery_float_voltage":55.2,"Battery_type":"User","Current_max_AC_charging_current":2,"Current_max_charging_current":70,"Input_voltage_range":"UPS","Output_source_priority":"SBU first","Charger_source_priority":"Only solar charging permitted","Parallel_max_num":6,"Machine_type":20,"Topology":"Transformerless","Output_mode":0,"Battery_re-discharge_voltage":52,"PV_OK_condition_for_parallel":0,"PV_power_balance":1,"Protocol_ID":"PI30"},"LiveData":{"AC_in_Voltage":234.9,"AC_in_Frequenz":49.9,"AC_out_Voltage":234.9,"AC_out_Frequenz":49.9,"AC_out_VA":1174,"AC_out_Watt":1127,"AC_out_percent":28,"Inverter_Bus_Voltage":403,"Battery_Voltage":50.3,"Battery_Charge_Current":0,"Battery_Percent":25,"Inverter_Bus_Temperature":46,"PV_Input_Current":0,"PV_Input_Voltage":0,"Battery_SCC_Volt":0,"Battery_Discharge_Current":0,"Status_Flag":10000,"Battery_voltage_offset_fans_on":0,"EEPROM_Version":0,"PV_Charging_Power":0,"Device_Status":10,"Battery_Load":0,"PV_Input_Power":0,"Inverter_Operation_Mode":"Line"}}

What browsers are you seeing the problem on?

no Issue with the Browser or WebUI

6.2KW Breckner model BK77729

What device are you using?

6.2KW Breckner model BK77729 last firmware 1.1.4 - looks OK - just a couple of things wrong - reports it as VMII-NXPW5KW, also Output_source_priority = solar first but it's set on Utility first.
Thank you for a great firmware - it was easy to wire and install.

IGridSV-IV5.6KW

Hier ein Logfile vom IGridSV-IV5.6KW (Erzeugt mit Rechtsklick auf das Tray-Icon des Programms Solarpower). Bei 10:06 Uhr habe ich die Einstellung für die LED Anzeige geändert (Ist zwar unwichtig, aber um überhaupt mal eine Einstellung zu ändern). Im beigefügten LOG nach dem Stichwort "LED" suchen.

Es gibt nur noch eine Log-Datei. Früher muss es bei ähnlichen Modellen mehrere Dateien gegeben haben. Hier entsteht aber nur eine Datei.
2022-08-30 IGridSV-IV5.6KW.log

160db8dc773a4f6cb24cc48592d80b84_1800x
IGridSV-IV5 6KW - Solarpower 1
IGridSV-IV5 6KW - Solarpower 2

Intermittent connection

A clear and concise description of what the problem is.

Hi, I'm facing intermittent connectivity in NodeMCU ESP8266. I've followed the wiring diagram from Wiki. Sometimes my NodeMCU picks up the values from my inverter and most of the time it fails, like no data.

I'm using this inverter
Crown Xavier 3.6KW
It's voltronic based as I can connect it to my PC using watchpower software
One thing to notice is that my inverter is sending data over 6,7 volts and when connected RS-232 to TTL it comes around 5v

I've attached the logs from watchpower software.

Below is the JSON data that I've recorded once I am able to connect
{ "EspData":{ "Device_name":"Solar2MQTT", "ESP_VCC":3.017, "Wifi_RSSI":-70, "sw_version":"1.1.6", "Free_Heap":24928, "HEAP_Fragmentation":9, "json_memory_usage":1271 }, "DeviceData":{ "AC_in_rating_voltage":230, "AC_in_rating_current":15.6, "AC_out_rating_voltage":230, "AC_out_rating_frequency":50, "AC_out_rating_current":15.6, "AC_out_rating_apparent_power":3600, "AC_out_rating_active_power":3600, "Battery_rating_voltage":24, "Battery_re-charge_voltage":23, "Battery_under_voltage":21, "Battery_bulk_voltage":28.2, "Battery_float_voltage":27, "Battery_type":"User", "Current_max_AC_charging_current":10, "Current_max_charging_current":20, "Input_voltage_range":"Appliance", "Output_source_priority":"Solar first", "Charger_source_priority":"Only solar charging permitted", "Parallel_max_num":1, "Machine_type":"Off Grid", "Topology":"Transformerless", "Output_mode":0, "Battery_re-discharge_voltage":27, "PV_OK_condition_for_parallel":0, "PV_power_balance":1, "Device_Model":"VMII-3600", "Protocol_ID":"PI30" }, "LiveData":{ "AC_in_Voltage":234.3, "AC_in_Frequenz":49.7, "AC_out_Voltage":234.3, "AC_out_Frequenz":49.7, "AC_out_VA":0, "AC_out_Watt":0, "AC_out_percent":0, "Inverter_Bus_Voltage":334, "Battery_Voltage":24.4, "Battery_Charge_Current":0, "Battery_Percent":35, "Inverter_Bus_Temperature":35, "PV_Input_Current":0, "PV_Input_Voltage":0, "Battery_SCC_Volt":0, "Battery_Discharge_Current":0, "Status_Flag":10100, "Battery_voltage_offset_fans_on":0, "EEPROM_Version":0, "PV_Charging_Power":3, "Device_Status":10, "Solar_feed_to_Grid_status":0, "Country":1, "Solar_feed_to_grid_power":0, "Battery_Load":0, "PV_Input_Power":0, "Inverter_Operation_Mode":"Line", "Time_until_absorb_charge":0, "Time_until_float_charge":0, "Tracker_temperature":0, "Inverter_temperature":27, "Battery_temperature":35, "Transformer_temperature":25, "Fan_speed":30, "Inverter_charge_state":"Bulk stage" } }

Kindly help as I'm stuck in this

Additional context

No response

POWLAND 3KVA 2400w 24Vdc Off Grid

What device are you using?

A new working device!
Solar Power Inverter 40A MPPT Solar Charger and 30A AC Charger
On label Isolar SMH3K
image

URL handling hivemq

I had create a free account an hivemq for testing. I get from hivemq a url like "ee9b57c42a8f48abad2774fe5e90ba3b.s2.eu.hivemq.cloud" Inserting this URL in SolarMQTT causes in a URL cutoff. After click Save setting the URL in the field is "ee9b57c42a8f48abad2774fe5e90ba3". It seems that no more than 32 chars are possible.

[FEATURE] Different Interval for important values like Solar- Watt Volt Ampere

Is your feature request related to a problem? Please describe

Add another interval for polling only some few values with a higher interval, that can be chosen, if the load is too high for pulling all values at the same time. Over seriell connection I pull it every 0,5 secs.
e.g.
Solar-Watt
Solar-Volt
Solar-Ampere

Describe the solution you'd like

Solar-Watt
Solar-Volt
Solar-Ampere

Describe alternatives you've considered

there is only the old or new way :-)

Additional context

No response

Masterpower Omega-UM3KVA

Die Daten des Masterpower Omega UM3KVA werden in der Solar2MQTT V0.5.1 nicht korrekt angezeigt. Die Temperatur kommt vom Masterpower schon in den Rohdaten falsch.

Screenshots

Screenshot 2023-04-10 104725
Screenshot 2023-04-10 104646
debug.zip

Temperature sensor reading

A clear and concise description of what the problem is.

I have read from easun 3kw 24v inveter temperatures above 500 celsius.

Additional context

20240208_120027
Screenshot_20240208_115947_Chrome

JSON:

{"EspData":{"Device_name":"Solar2MQTT","ESP_VCC":2.98,"Wifi_RSSI":-34,"sw_version":"1.1.6","Free_Heap":22992,"HEAP_Fragmentation":17,"json_memory_usage":1224},"DeviceData":{"AC_in_rating_voltage":230,"AC_in_rating_current":13,"AC_out_rating_voltage":230,"AC_out_rating_frequency":50,"AC_out_rating_current":13,"AC_out_rating_apparent_power":3000,"AC_out_rating_active_power":3000,"Battery_rating_voltage":24,"Battery_re-charge_voltage":23,"Battery_under_voltage":21,"Battery_bulk_voltage":29.2,"Battery_float_voltage":27,"Battery_type":"Flooded","Current_max_AC_charging_current":15,"Current_max_charging_current":20,"Input_voltage_range":"Appliance","Output_source_priority":"Solar first","Charger_source_priority":"Solar + Utility","Parallel_max_num":0,"Machine_type":"Off Grid","Topology":"Transformer","Output_mode":0,"Battery_re-discharge_voltage":27,"PV_OK_condition_for_parallel":0,"PV_power_balance":0,"Device_Model":"SP-3000","Protocol_ID":"PI30"},"LiveData":{"AC_in_Voltage":229,"AC_in_Frequenz":50,"AC_out_Voltage":0,"AC_out_Frequenz":0,"AC_out_VA":0,"AC_out_Watt":0,"AC_out_percent":0,"Inverter_Bus_Voltage":286,"Battery_Voltage":27,"Battery_Charge_Current":0,"Battery_Percent":100,"Inverter_Bus_Temperature":515,"PV_Input_Current":0,"PV_Input_Voltage":0,"Battery_SCC_Volt":0,"Battery_Discharge_Current":0,"Status_Flag":1.00011008e7,"Battery_voltage_offset_fans_on":0,"EEPROM_Version":3,"PV_Charging_Power":0,"Device_Status":100,"Battery_Load":0,"PV_Input_Power":0,"Inverter_Operation_Mode":"Standby","PV_generation_sum":0,"PV_generation_year":0,"PV_generation_month":0,"PV_generation_day":0,"AC_in_generation_sum":0,"AC_in_generation_year":0,"AC_in_generation_month":0,"AC_in_generation_day":0}}

mpp solar Hybrid V 4Kw

What device are you using?

comfirmed mmp solar hybrid V 4kw (green) P18
important: start flashing realese V1.1.0.. configure.. check read inverter data an then upgrade to V1.1.4... reboot.. upgrade to lastest V1.1.6

Blynk 2.0 integration

Ok, so not to mention but in my case mqtt sucks and I am bound to check the stats through a browser typing the ip address of the esp8266 which frequently changes. Also, I don't mean to calculate the units produced myself and want it to be done by the esp8266 itself

Therefore, i would like to request integration of blynk 2.0 so that i can get that beautiful graphs and most importantly don't have to pay for cloud mqtt services in order to monitor by solar system production when I am away. I don't hate setting up hundreds of data stream and organizing the dashboard of my blynk app if have to do it only once. Whereas with current setup I can't set up dhcp binding on my router as it disturbs the other functionality of the router (this might occur only on my end but still, isn't the aim to give an alternative to those pricey wifi modules for inverter)

Lastly, I would like to add that please make the code a little bit easier to understand and edit. truly i would say that the system worked in one go but any chances of further improvement in the software side was clearly impossible from my side. Thus, even if the code is not made easier just add blynk support.

[Bug]: HA is not subscribed to LWT

Is there an existing issue for this?

  • I have searched the existing issues

Used Hardware?

Wemos D1 Mini

What happened?

Hello,

I've just build the adaptor and installed Solar2MQTT v1.1.6

First of all: thanks for the project, it works great.

The issue I've detected is that on HA discovery, LWT (Will message) is not included, so HA doesn't subscribe to Solar2MQTT LWT topic.

Checking MQTT broker logs, I can see that LWT message is received at connection

2024-03-14 16:48:27: New client connected from 192.168.1.194:54937 as Axpert-0DD700 (p2, c1, k15).
2024-03-14 16:48:27: Will message specified (5 bytes) (r1, q0).
2024-03-14 16:48:27: 	Axpert/Alive
2024-03-14 16:48:27: Sending CONNACK to Axpert-0DD700 (0, 0)
2024-03-14 16:48:27: Received PUBLISH from Axpert-0DD700 (d0, q0, r1, m0, 'Axpert/Alive', ... (4 bytes))

but after that HA does not subscrite to it.

The rest of devices connected to the same broker subscribes HA to their LWTs

When inverter comms fails, I can check that MQTT broker detects timeout but LWT message is not forwarded to HA and latest received values remain in HA forever. Never changes to "Unavailable"

2024-03-14 16:56:21: Client SmartEVSE-Mercedes has exceeded timeout, disconnecting.
2024-03-14 16:56:21: Sending PUBLISH to mqtt_home_assistant (d0, q0, r0, m0, 'SmartEVSE-Mercedes/connected', ... (7 bytes))
2024-03-14 16:56:21: Client Axpert-0DD700 has exceeded timeout, disconnecting.   <--- NOT PUBLISHED IN HA
2024-03-14 16:56:21: Client DVES_AA0918 has exceeded timeout, disconnecting.
2024-03-14 16:56:21: Sending PUBLISH to mqtt_home_assistant (d0, q0, r0, m0, 'tele/tasmota_AA0918/LWT', ... (7 bytes))
2024-03-14 16:56:21: Client SmartEVSE-Tesla has exceeded timeout, disconnecting.
2024-03-14 16:56:21: Sending PUBLISH to mqtt_home_assistant (d0, q0, r0, m0, 'SmartEVSE-Tesla/connected', ... (7 bytes))

Thanks!

P.S. I have an Axpert MKSIV 5600. The integration detects an MKS2-5600 through protocol PI30 and does not decode all sensors and commands but at least it does with the most important ones. If I can help to update your templates with the full set of my inverter parameters, let me know how can I do.

Screenshots / Fotos

None

Steps To Reproduce

No response

Version

1.x.x and above

Relevant livejson output

None

What browsers are you seeing the problem on?

no Issue with the Browser or WebUI

MasterPower UM5KV4 5,6 KW / Axpert VM IV 5,6 KW

Hallo Rocky,
ich habe für meinen Offgrid Inverter mit Deinem Programm und der Hardware
Wemos D1 Mini + Max3232
einen Webmonitor gebastelt, es werden allerdings keine Daten angezeigt.
Jetzt meine Frage:
Ist dieser Inverter überhaupt vom Datenprotokoll her kompatibel mit Deinem Programm,
oder habe ich noch irgendein anderes Problem, evtl. beim RS232-TTL Converter?
Rx und TX habe ich natürlich schon hin- und hergetauscht.
Wie könnte ich testen, ob überhaupt Daten rüberkommen?
Danke!

[Bug]: Why information from Inverter not showing up just one blink and missing

Is there an existing issue for this?

  • I have searched the existing issues

Used Hardware?

Wemos D1 Mini

What happened?

Information from Inverter not showing up just for a moment and missing

Screenshots / Fotos

image

Steps To Reproduce

First version is showing data

Version

1.x.x and above

Relevant livejson output

{"EspData":{"Device_name":"Solar2MQTT","ESP_VCC":3.032,"Wifi_RSSI":-65,"sw_version":"1.1.6_Dongle","Free_Heap":22416,"HEAP_Fragmentation":11,"json_memory_usage":259},"DeviceData":{},"LiveData":{}}

What browsers are you seeing the problem on?

Chrome

MPP SOLAR Hybrid V2

What device are you using?

comfirmed mmp solar hybrid V2 5kw (yelow) P18
important: start flashing realese V1.1.0.. configure.. check read inverter data an then upgrade to V1.1.4... reboot.. upgrade to lastest V1.1.6

[FEATURE] Supply to UK

Is your feature request related to a problem? Please describe

I think this might work with the EDECOA hybrid charger/inverter.

Rather than compile and flash I though I'd just buy the module. all-soutions.store doesn't seem to ship to the UK though.

Describe the solution you'd like

Be able to buy from the UK

Describe alternatives you've considered

A description on how to flash. Do I use platform.io or Arduino?

Additional context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.