biemond / solaredge.modbus

Homey Solaredge modbus app
GNU General Public License v3.0
7 stars 8 forks source link

It would be great if this app also supported Solax inverters + battery #70

Open JorgenSeemann opened 3 months ago

JorgenSeemann commented 3 months ago

Note Solax supports both own Lithium battery as well as Lead Acid batteries :)

JorgenSeemann commented 2 months ago

Hm. Well. I can try. I don't think it will do anything as the other modbus connection is working fine, but lets see. Brb

tir. 9. apr. 2024 10.53 skrev Edwin Biemond @.***>:

yeah send it to you, huawei I see indeed. I think we need to restart solax. it is stuck or has a new ip or something.

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2044481512, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMBHGWRGWLZZF2KANG3Y4OT7JAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGQ4DCNJRGI . You are receiving this because you authored the thread.Message ID: @.***>

biemond commented 2 months ago

yeah, I think solax cache or something is acting weird. clearing the memory can help here.

JorgenSeemann commented 2 months ago

I tried the remote off/on. Didn't change anything. I'll try the proper shutdown when I'm home to night, as I'm unsure if I can start it remotely after a shutdown

tir. 9. apr. 2024 11.01 skrev Edwin Biemond @.***>:

yeah, I think solax cache or something is acting weird. clearing the memory can help here.

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2044496706, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMCB5ATVLOHRIH4XUZ3Y4OU6PAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGQ4TMNZQGY . You are receiving this because you authored the thread.Message ID: @.***>

JorgenSeemann commented 2 months ago

Hi Edwin. I have the inverter an my wifi rebooted. App seems to be responding now 😀 Would be nice to have a decimal on the battery voltage, and somehow a (calculated?) value for solar power. I'll upload pictures as soon as possible Cheers

tir. 9. apr. 2024 11.17 skrev Joergen Seemann @.***>:

I tried the remote off/on. Didn't change anything. I'll try the proper shutdown when I'm home to night, as I'm unsure if I can start it remotely after a shutdown

tir. 9. apr. 2024 11.01 skrev Edwin Biemond @.***>:

yeah, I think solax cache or something is acting weird. clearing the memory can help here.

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2044496706, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMCB5ATVLOHRIH4XUZ3Y4OU6PAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGQ4TMNZQGY . You are receiving this because you authored the thread.Message ID: @.***>

biemond commented 2 months ago

cool. please show me pics indeed.

and put the refresh to 30 sec instead of 20s. maybe it was too much. or it was doing things together.

I need to do 1 more test with this big numbers. can you try to retrieve 1 of the values so I can compare

JorgenSeemann commented 2 months ago

Screenshot_20240409_152619_Homey Screenshot_20240409_152732_Homey Screenshot_20240409_152750_Homey

JorgenSeemann commented 2 months ago

Pictures uploaded Re poll time - I don't see anywhere this can be changed Re big numbers. Hm. Change how?

Cheers

tir. 9. apr. 2024 15.15 skrev Edwin Biemond @.***>:

cool. please show me pics indeed.

and put the refresh to 30 sec instead of 20s. maybe it was too much. or it was doing things together.

I need to do 1 more test with this big numbers. can you try to retrieve 1 of the values so I can compare

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2045155649, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMCONOK7UPSAGW3HRETY4PSWNAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBVGE2TKNRUHE . You are receiving this because you authored the thread.Message ID: @.***>

biemond commented 2 months ago

yeah , for the big numbers they use 2 bytes with big endian or little.

Do you know 1 of those total values what is the real value so I can try to come close.

biemond commented 2 months ago

will do a test now. to see if I get better or more realistics totals

biemond commented 2 months ago
Connected ...
SolarChargerUseMode: 0
output power limits precent 0~100: 100
Manual mode: 0
Grid connected pull in power point: 2000
Battery1 Type: 0
Charge_floatVolt: 7350
Battery_DischargeCutVoltage: 6050
Battery_ChargeMaxCurrent: 200
Battery_DischargeMaxCurrent: 200
absorpt_voltage: 7350
Inverter Voltage: 2366
Inverter Current: 11
Inverter Power: 401
radiator temperature: 41
Powerdc1: 0
Powerdc2: 0
BatVoltage_Charge1: 7312
BatCurrent_Charge1: -4
Batpower_Charge1: -358
TemperatureBat: 0
Battery Capacity: 0
OutputEnergy_Charge_today: 144
InputEnergy_Charge_today: 162
Feedin power is obtained from Meter or CT: 0
energy today to the grid: 6915
energy today from the grid: 61453
energy to the grid: 57698
energy form the grid: 55972
Today's Solar Energy: 300
Total Energy (Inverter AC Port): 6956
GridVoltage_R(X3): 2366
GridCurrent_R(X3): 11
GridPower_R(X3): 122
GridVoltage_S(X3): 2354
GridCurrent_S(X3): 13
GridPower_S(X3): 179
GridVoltage_T(X3): 2363
GridCurrent_T(X3): 11
GridPower_T(X3): 89
FeedinPower_Rphase(X3): -257
FeedinPower_Tphase(X3): 256
EchargeToday: 0
EchargeTotal: 35328
SolarEnergyTotal: 28719
SolarEnergyToday: 332
BMS_UserSOC: 0
BMS_UserSOH: 0
ActivePowerTarget: 0
Charge_Discharg_Power: 0
SocUpper: 100
SocLower: 10
Cell_Voltage_High: 0
Cell_Voltage_Low: 0
Off-gridVoltage(X1): 0
Off-gridCurrent(X1): 0
Off-gridPower(X1): 0
BusVolt: 0
biemond commented 2 months ago

new version https://homey.app/a/solaredge.modbus/test/

JorgenSeemann commented 2 months ago

So perhaps the "total yield" value should be 1129.9kWh or the "export control" that is set to 300000 (W) ?

Den tirs. 9. apr. 2024 kl. 15.53 skrev Edwin Biemond < @.***>:

yeah , for the big numbers they use 2 bytes with big endian or little.

Do you know 1 of those total values what is the real value so I can try to come close.

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2045234028, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMCLEOGKDWDG56R3RADY4PXGRAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBVGIZTIMBSHA . You are receiving this because you authored the thread.Message ID: @.***>

-- Med venlig hilsen Jørgen

biemond commented 2 months ago

don't see it. , do you have some solex app with some total values? can you make a pic of those

JorgenSeemann commented 2 months ago
image image

Pictures from the Solax app :)

biemond commented 2 months ago

found your export 30000 value, but total of 1130 kwh not, got 1028 instead

biemond commented 2 months ago

something else , what do you like to control or do ?

JorgenSeemann commented 2 months ago

Hi Edwin

I would really like to have Battery charge voltage in .1 decimal (eq 735.0 – not 735)

For the set function I would really like to see (for the Solax):

1) Be able to set CHARGER USE MODE (to Manual, Self-Use, Back-up, Feed-in, Peak Shaving, TOU mode)

2) Be able to set MANUAL MODE (to f.ex. Force Discharge, Force Charge, Stop force charge&discharge)

3) Use above as conditions (like if xx and MANUAL MODE = Force Discharge then ...)

For both Solax and Huawei it would be great to control forced charge discharge to

a) Control a certain charge from grid when battery voltage/SOC is low (combined with other logic controlling if price is low and weather forecast is poor)

b) Control a certain discharge to grid when battery voltage/SOC is high (combined with other logic controlling if price is high and weather forecast is good)

Example for SOLAX: If “price becomes above ”, AND “battery voltage is bigger than ”, THEN “Charger use mode = Force-Time” + “Manual mode = Force discharge”

Likewise reversed when battery voltage/SOC drops below *

For SOLAX this should be achieved by 1+2+3, but it also have a TOU functionality (that I cannot use at the moment because this is hard-linked to the SOC). I hope that I will be able to add the logic to use it as a proper LiIon soon, which will open SOC for me.

I imagine something like this would be universally good to have 😀

Cheers

tir. 9. apr. 2024 22.43 skrev Edwin Biemond @.***>:

something else , what do you like to control or do ?

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2046017046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMD4XQRC2NLL2D6SHKDY4RHI3AVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBWGAYTOMBUGY . You are receiving this because you authored the thread.Message ID: @.***>

JorgenSeemann commented 2 months ago

(And a combined PV would also be really nice to have) 😀

ons. 10. apr. 2024 07.56 skrev Joergen Seemann @.***>:

Hi Edwin

I would really like to have Battery charge voltage in .1 decimal (eq 735.0 – not 735)

For the set function I would really like to see (for the Solax):

1) Be able to set CHARGER USE MODE (to Manual, Self-Use, Back-up, Feed-in, Peak Shaving, TOU mode)

2) Be able to set MANUAL MODE (to f.ex. Force Discharge, Force Charge, Stop force charge&discharge)

3) Use above as conditions (like if xx and MANUAL MODE = Force Discharge then ...)

For both Solax and Huawei it would be great to control forced charge discharge to

a) Control a certain charge from grid when battery voltage/SOC is low (combined with other logic controlling if price is low and weather forecast is poor)

b) Control a certain discharge to grid when battery voltage/SOC is high (combined with other logic controlling if price is high and weather forecast is good)

Example for SOLAX: If “price becomes above ”, AND “battery voltage is bigger than ”, THEN “Charger use mode = Force-Time” + “Manual mode = Force discharge”

Likewise reversed when battery voltage/SOC drops below *

For SOLAX this should be achieved by 1+2+3, but it also have a TOU functionality (that I cannot use at the moment because this is hard-linked to the SOC). I hope that I will be able to add the logic to use it as a proper LiIon soon, which will open SOC for me.

I imagine something like this would be universally good to have 😀

Cheers

tir. 9. apr. 2024 22.43 skrev Edwin Biemond @.***>:

something else , what do you like to control or do ?

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2046017046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMD4XQRC2NLL2D6SHKDY4RHI3AVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBWGAYTOMBUGY . You are receiving this because you authored the thread.Message ID: @.***>

biemond commented 2 months ago

thanks, I think I already did voltage with 1 decimal. let me check it again

combined pv you mean pv1 , pv2 . I cannot go over all your inverters

also Solax is doable to change things , for huawei , I need to check this installer account part.

JorgenSeemann commented 2 months ago

Yes combined PV on one inverter (PV1+PV2) I use this to control charge of car (so charge = PV production) 😀

I have access to huawei installer part. But not sure if you can access these via modbus.

ons. 10. apr. 2024 09.51 skrev Edwin Biemond @.***>:

thanks, I think I already did voltage with 1 decimal. let me check it again

combined pv you mean pv1 , pv2 . I cannot go over all your inverters

also Solax is doable to change things , for huawei , I need to check this installer account part.

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2046788621, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMGVCK2XCAWKDBFTBDDY4TVRVAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBWG44DQNRSGE . You are receiving this because you authored the thread.Message ID: @.***>

biemond commented 2 months ago

https://homey.app/a/solaredge.modbus/test/

can you remove and add it again

new caps like load, pv , fix rounding on voltage and added batt soc / soh. even when you don't have it.

JorgenSeemann commented 2 months ago

Hello Edwin. Removed both Solax and Huawei, removed app, installed new test, added Solax and Huawei. Unfortunately - now neither of them seems to be working - everything showing "-". Reboot didn't help. I'll create diagnostic - e41cd320-59a1-4b0c-a504-a1f7c87f917e Cheers

Den ons. 10. apr. 2024 kl. 19.49 skrev Edwin Biemond < @.***>:

https://homey.app/a/solaredge.modbus/test/

can you remove and add it again

new caps like load, pv , fix rounding on voltage and added batt soc / soh. even when you don't have it.

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2048138721, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMGXAIGXVK3QGLSPZP3Y4V3SZAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYGEZTQNZSGE . You are receiving this because you authored the thread.Message ID: @.***>

-- Med venlig hilsen Jørgen

JorgenSeemann commented 2 months ago

Ok. really wierd. I forced the two inverters to reconnect to another wifi and then both came to life. Definitely now have xxx.x on bat vol :)

Den ons. 10. apr. 2024 kl. 21.28 skrev Joergen Seemann @.***>:

Hello Edwin. Removed both Solax and Huawei, removed app, installed new test, added Solax and Huawei. Unfortunately - now neither of them seems to be working - everything showing "-". Reboot didn't help. I'll create diagnostic - e41cd320-59a1-4b0c-a504-a1f7c87f917e Cheers

Den ons. 10. apr. 2024 kl. 19.49 skrev Edwin Biemond < @.***>:

https://homey.app/a/solaredge.modbus/test/

can you remove and add it again

new caps like load, pv , fix rounding on voltage and added batt soc / soh. even when you don't have it.

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2048138721, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMGXAIGXVK3QGLSPZP3Y4V3SZAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYGEZTQNZSGE . You are receiving this because you authored the thread.Message ID: @.***>

-- Med venlig hilsen Jørgen

-- Med venlig hilsen Jørgen

biemond commented 2 months ago

oh, Huawei was not needed. that is stable for now

JorgenSeemann commented 2 months ago

Oh well .. But both seems fine now 😀

ons. 10. apr. 2024 21.57 skrev Edwin Biemond @.***>:

oh, Huawei was not needed. that is stable for now

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2048333784, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMCE7J5Q2YSAQETGODTY4WKUJAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYGMZTGNZYGQ . You are receiving this because you authored the thread.Message ID: @.***>

biemond commented 2 months ago

can you try this https://homey.app/a/solaredge.modbus/test/ solax only

added device actions for manual mode and use mode, also as flow actions.

JorgenSeemann commented 2 months ago

Hi Edwin.

The app updated automatically :) It doesn't seems to be changing the "use mode" no matter what I try - sorry :/ (haven't rebooted or tried delete /readding the inverter - let me know if you would like me to try) br jørgen

Den søn. 14. apr. 2024 kl. 10.17 skrev Edwin Biemond < @.***>:

can you try this https://homey.app/a/solaredge.modbus/test/ solax only

added device actions for manual mode and use mode, also as flow actions.

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2053959742, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMBNDXPPXFBMGLKDCY3Y5I3SXAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJTHE2TSNZUGI . You are receiving this because you authored the thread.Message ID: @.***>

-- Med venlig hilsen Jørgen

biemond commented 2 months ago

ok , can you send me a diagnostic report , 30 seconds after you do the action.

JorgenSeemann commented 2 months ago

Done. a3216ebf-1a64-4705-9544-03792eaed9bd

man. 15. apr. 2024 00.03 skrev Edwin Biemond @.***>:

ok , can you send me a diagnostic report , 30 seconds after you do the action.

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2054197838, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMC6LONMWVJTAH7IXULY5L4LTAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJUGE4TOOBTHA . You are receiving this because you authored the thread.Message ID: @.***>

biemond commented 2 months ago

thanks , awesome

[Driver:solaxwithbatt] [Device:d4df119c-6e47-4739-8a89-824b3f839824] device name Solax
{
  host: '192.168.42.79',
  port: 502,
  unitId: 1,
  timeout: 15,
  autoReconnect: false,
  logLabel: 'solax Inverter',
  logLevel: 'error',
  logEnabled: true
}
Connected ...
solarcharger_use_mode {
  metrics: UserRequestMetrics {
    createdAt: 2024-04-15T05:40:31.181Z,
    startedAt: 2024-04-15T05:40:31.181Z,
    receivedAt: 2024-04-15T05:40:31.524Z
  },
  request: ModbusTCPRequest {
    _id: 1,
    _protocol: 0,
    _length: 6,
    _unitId: 1,
    _body: WriteSingleRegisterRequestBody { _fc: 6, _address: 139, _value: 3 }
  },
  response: ModbusTCPResponse {
    _id: 1,
    _protocol: 0,
    _bodyLength: 6,
    _unitId: 1,
    _body: WriteSingleRegisterResponseBody {
      _fc: 6,
      _address: 139,
      _value: 3
    }
  }
}
disconnect
Client closed
checkRegister result
biemond commented 2 months ago

found the issue , https://homey.app/a/solaredge.modbus/test/ it uses other registers for writing

JorgenSeemann commented 2 months ago

Thanks, I'll check it out tomorrow and let you know 😀

tir. 16. apr. 2024 20.11 skrev Edwin Biemond @.***>:

found the issue , https://homey.app/a/solaredge.modbus/test/ it uses other registers for writing

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2059671710, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMAAVMO3BEMIWCWDX4LY5VSUBAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGY3TCNZRGA . You are receiving this because you authored the thread.Message ID: @.***>

JorgenSeemann commented 2 months ago

Didn't change anything, but looked it did. Also think it crashed - 0a432cba-bf1d-428a-a095-60cab20cbf02 Ill upload pictures shortly

tir. 16. apr. 2024 21.39 skrev Joergen Seemann @.***>:

Thanks, I'll check it out tomorrow and let you know 😀

tir. 16. apr. 2024 20.11 skrev Edwin Biemond @.***>:

found the issue , https://homey.app/a/solaredge.modbus/test/ it uses other registers for writing

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2059671710, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMAAVMO3BEMIWCWDX4LY5VSUBAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGY3TCNZRGA . You are receiving this because you authored the thread.Message ID: @.***>

JorgenSeemann commented 2 months ago

Ran flow to use manual mode + forced discharge. Showing your app, alternative app + solax app. No discharge actually took place

JorgenSeemann commented 2 months ago

Screenshot_20240417_070311_Homey Screenshot_20240417_070323_Homey Screenshot_20240417_070341_SolaxCloud

JorgenSeemann commented 2 months ago

Confirm solax has stopped working/update Huawei still running

ons. 17. apr. 2024 07.18 skrev Joergen Seemann @.***>:

Didn't change anything, but looked it did. Also think it crashed - 0a432cba-bf1d-428a-a095-60cab20cbf02 Ill upload pictures shortly

tir. 16. apr. 2024 21.39 skrev Joergen Seemann @.***>:

Thanks, I'll check it out tomorrow and let you know 😀

tir. 16. apr. 2024 20.11 skrev Edwin Biemond @.***>:

found the issue , https://homey.app/a/solaredge.modbus/test/ it uses other registers for writing

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2059671710, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMAAVMO3BEMIWCWDX4LY5VSUBAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGY3TCNZRGA . You are receiving this because you authored the thread.Message ID: @.***>

JorgenSeemann commented 2 months ago

I guess i dhould have learnt by now to make sure to reset wifi spots. It's really weird i have to do so most of the time with this particular implementation. Be back after testing

ons. 17. apr. 2024 07.40 skrev Joergen Seemann @.***>:

Confirm solax has stopped working/update Huawei still running

ons. 17. apr. 2024 07.18 skrev Joergen Seemann @.***>:

Didn't change anything, but looked it did. Also think it crashed - 0a432cba-bf1d-428a-a095-60cab20cbf02 Ill upload pictures shortly

tir. 16. apr. 2024 21.39 skrev Joergen Seemann @.***>:

Thanks, I'll check it out tomorrow and let you know 😀

tir. 16. apr. 2024 20.11 skrev Edwin Biemond @.***>:

found the issue , https://homey.app/a/solaredge.modbus/test/ it uses other registers for writing

— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2059671710, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMAAVMO3BEMIWCWDX4LY5VSUBAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGY3TCNZRGA . You are receiving this because you authored the thread.Message ID: @.***>

biemond commented 2 months ago

oh, any reason why it switches wifi . maybe you can do lan instead or ethernet over electricity

JorgenSeemann commented 2 months ago

Unfortunately my Solax only has wifi. Not sure why it's moving in the mesh (or why it would matter) but I bound it to the nearest AP. At least it updated to 107 without any problems. I noticed a problem with grid in/output and house load power. Both looks crazy (picture attached) image

JorgenSeemann commented 2 months ago

Changed to use mode = manual mode+force discharge in the selection (use mode) page, and turned back to manual mode=stop and use mode = self use via flow. Both seems to work as expected :) I think we're very very close to everything being there/working as expected 👍 👍

biemond commented 2 months ago

nice, will check your other things you want to control.

biemond commented 2 months ago

checking for this.

biemond commented 2 months ago

0x0042 Export control User_Limit W Export control User_Limit (0~60000) 1W uint1

0x00B7 FeedinOnPower W 0~8000 1W uint16

0x00D6 HardExportPower W 0~15000 1W(X1) 10W(X3) uint16

biemond commented 2 months ago

Can you try this https://homey.app/a/solaredge.modbus/test/

2 conditions and 2 more actions to limit import / export

JorgenSeemann commented 2 months ago

For 108: The grid in/output is still wrong. When this clip was done I was exporting from battery. 14-15kW

image
JorgenSeemann commented 2 months ago

It would seems like the condition check doesn't work (inverter is in user mode = manual mode, manual mode = discharge

image
biemond commented 2 months ago

no clue why you meter is saying double.

        // feedin_power R
        // Feedin power is obtained from Meter or CT.
        // (Postive mean generate power; Negative mean consumed power)
        // (0x46:LSB,0x47:MSB)
        // 1W int32 2
        "feedin_power":          [0x0046, 2, 'INT32', "Feedin power is obtained from Meter or CT", 0],
biemond commented 2 months ago

can you do a simple test with 1 condition to see which one fails and send some push message with the current value, cannot see anything wrong in the code.

JorgenSeemann commented 2 months ago

Screenshot_20240422_071349_Homey Screenshot_20240422_071553_SolaxCloud

JorgenSeemann commented 2 months ago

20240422_072233 Seems like use mode = 0 20240422_072310