Open JorgenSeemann opened 3 months ago
Discharge test fails (seems to get 0 from values) It's currently discharging.
Testet. Added info and pictures. Diag report dba3be33-7bba-4e86-8b7c-624314e1c940 Cheers Jørgen
søn. 21. apr. 2024 22.48 skrev Edwin Biemond @.***>:
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.
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2068193592, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMGVRTRDIPS7P5SO44DY6QQZ5AVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYGE4TGNJZGI . You are receiving this because you authored the thread.Message ID: @.***>
so current values are always 0 as value. does the device show the right values?
will add some more logs.
You don't have advanced flows?
It says both are zero. so the conditions are correct I guess with those values. it is more why these are 0 now.
SolarChargerUseMode 0 0 SolarChargerUseMode
ManualMode 0 0 Manual mode
Hi Edwin, Never used adv flow - they are available if needed for something thou :) The problem is that the test (condition) doesn't respond correctly. It gives a yellow mark (error) rather than a green tick (test ok) br Jørgen
Den man. 22. apr. 2024 kl. 09.43 skrev Edwin Biemond < @.***>:
so current values are always 0 as value. does the device show the right values? will add some more logs.
You don't have advanced flows?
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2068705776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMATNJMJSS5CF3VWCI3Y6S5TDAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYG4YDKNZXGY . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
Well. The Solax was in manuel mode, but the test flow gave error when I tested if use mode = manual mode
Den man. 22. apr. 2024 kl. 09.48 skrev Edwin Biemond < @.***>:
It says both are zero. so the conditions are correct I guess with those values. it is more why these are 0 now.
SolarChargerUseMode 0 0 SolarChargerUseMode ManualMode 0 0 Manual mode
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2068715841, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMAVGUP37PIKVGVT4FLY6S6FLAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYG4YTKOBUGE . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
testing "use mode is Self use mode" responds ok - which is currently correct
Den man. 22. apr. 2024 kl. 20.47 skrev Joergen Seemann @.***>:
Well. The Solax was in manuel mode, but the test flow gave error when I tested if use mode = manual mode
Den man. 22. apr. 2024 kl. 09.48 skrev Edwin Biemond < @.***>:
It says both are zero. so the conditions are correct I guess with those values. it is more why these are 0 now.
SolarChargerUseMode 0 0 SolarChargerUseMode ManualMode 0 0 Manual mode
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2068715841, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMAVGUP37PIKVGVT4FLY6S6FLAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYG4YTKOBUGE . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
-- Med venlig hilsen Jørgen
Stand corrected: don't have adv flow (never paid for it)
Den man. 22. apr. 2024 kl. 20.46 skrev Joergen Seemann @.***>:
Hi Edwin, Never used adv flow - they are available if needed for something thou :) The problem is that the test (condition) doesn't respond correctly. It gives a yellow mark (error) rather than a green tick (test ok) br Jørgen
Den man. 22. apr. 2024 kl. 09.43 skrev Edwin Biemond < @.***>:
so current values are always 0 as value. does the device show the right values? will add some more logs.
You don't have advanced flows?
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2068705776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMATNJMJSS5CF3VWCI3Y6S5TDAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYG4YDKNZXGY . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
-- Med venlig hilsen Jørgen
ok , let me check it again and add more logs.
Ok. If the use mode and the charge/discharge mode is shown directly it would be very easy to see if it picks up changes (like other values - pv w/v/a etc 😀)
man. 22. apr. 2024 21.03 skrev Edwin Biemond @.***>:
ok , let me check it again and add more logs.
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2070677919, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMEZMP2RKJZF2ZC56X3Y6VNIBAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQGY3TOOJRHE . You are receiving this because you authored the thread.Message ID: @.***>
new version with more logs https://homey.app/a/solaredge.modbus/test/
after you do some test check current state on the device and send me a report.
if you set them on the device , it should be instant use mode and the charge/discharge mode is shown directly
if you do on flows it will be on the next run.
Great :) Will install, test and report back to you tomorrow :)
Den man. 22. apr. 2024 kl. 21.17 skrev Edwin Biemond < @.***>:
if you set them on the device , it should be instant use mode and the charge/discharge mode is shown directly if you do on flows it will be on the next run.
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2070721726, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMGGDX3OIPYIYTZKUDDY6VO3LAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQG4ZDCNZSGY . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
advanced is very easy to test from it and also do parallel actions like when. do condition and send push action with the current value of that action.
Right - but cost €25 ;)
Den man. 22. apr. 2024 kl. 21.28 skrev Edwin Biemond < @.***>:
advanced is very easy to test from it and also do parallel actions like when. do condition and send push action with the current value of that action.
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2070759312, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMDJJ7BQ74CWJODUJV3Y6VQHVAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQG42TSMZRGI . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
oh was thinking you had it . for dynamic prices and power by the hour it is a must have. I got it with homey 2023 else I also won't do it.
New diag: d468dd1f-dd4f-4ce1-8479-412170c8a6f1
man. 22. apr. 2024 21.40 skrev Edwin Biemond @.***>:
oh was thinking you had it . for dynamic prices and power by the hour it is a must have. I got it with homey 2023 else I also won't do it.
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2070795243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMCRZYEQY675ST7C2KLY6VRRFAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQG44TKMRUGM . You are receiving this because you authored the thread.Message ID: @.***>
Add to error. The test for Storage charge/discharge mode always succed if test for STOP (regardless) and always fails for charge/discharge (regardless) Br Jørgen
tir. 23. apr. 2024 07.28 skrev Joergen Seemann @.***>:
New diag: d468dd1f-dd4f-4ce1-8479-412170c8a6f1
man. 22. apr. 2024 21.40 skrev Edwin Biemond @.***>:
oh was thinking you had it . for dynamic prices and power by the hour it is a must have. I got it with homey 2023 else I also won't do it.
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2070795243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMCRZYEQY675ST7C2KLY6VRRFAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQG44TKMRUGM . You are receiving this because you authored the thread.Message ID: @.***>
Don't see it, also don't see the new logs, only see stop or self mode, and then it works indeed. so the conditions are working so why does the below stay on 0 when you changed it.
SolarChargerUseMode 0 0 SolarChargerUseMode
ManualMode 0 0 Manual mode
How are you changing it? from the device or with a flow and do you keep this value for at least 5 minutes.
I usually change it via flow (but different implementation). The change is pretty instant both there and in the official app. I haven't timed it, but I think its usually 1-2min max between my change and then testing it. cheers
Den tirs. 23. apr. 2024 kl. 09.45 skrev Edwin Biemond < @.***>:
Don't see it, also don't see the new logs, only see stop or self mode, and then it works indeed. so the conditions are working so why does the below stay on 0 when you changed it.
SolarChargerUseMode 0 0 SolarChargerUseMode ManualMode 0 0 Manual mode
How are you changing it? from the device or with a flow and do you keep this value for at least 5 minutes.
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2071643101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMBWV3LR5OZYTBVF3FDY6YGRFAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGY2DGMJQGE . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
I tried to use your implementation to change mode to manual and then test (if use mode is manual) Even after 8min it still fails. d591a5da-b74a-497f-8a77-1d77e5f434ec Sorry
Den tirs. 23. apr. 2024 kl. 20.28 skrev Joergen Seemann @.***>:
I usually change it via flow (but different implementation). The change is pretty instant both there and in the official app. I haven't timed it, but I think its usually 1-2min max between my change and then testing it. cheers
Den tirs. 23. apr. 2024 kl. 09.45 skrev Edwin Biemond < @.***>:
Don't see it, also don't see the new logs, only see stop or self mode, and then it works indeed. so the conditions are working so why does the below stay on 0 when you changed it.
SolarChargerUseMode 0 0 SolarChargerUseMode ManualMode 0 0 Manual mode
How are you changing it? from the device or with a flow and do you keep this value for at least 5 minutes.
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2071643101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMBWV3LR5OZYTBVF3FDY6YGRFAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGY2DGMJQGE . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
-- Med venlig hilsen Jørgen
let me check , thanks
I see the logs are after you set it to 0 again
solarcharger_use_mode {
metrics: UserRequestMetrics {
createdAt: 2024-04-23T18:39:23.132Z,
startedAt: 2024-04-23T18:39:23.133Z,
receivedAt: 2024-04-23T18:39:23.325Z
},
request: ModbusTCPRequest {
_id: 1,
_protocol: 0,
_length: 6,
_unitId: 1,
_body: WriteSingleRegisterRequestBody { _fc: 6, _address: 31, _value: 0 }
},
response: ModbusTCPResponse {
_id: 1,
_protocol: 0,
_bodyLength: 6,
_unitId: 1,
_body: WriteSingleRegisterResponseBody { _fc: 6, _address: 31, _value: 0 }
}
}
can you send me a report when you change use mode. and do a condtion test.
only see 0 and 0
Yes. Set it to manual. Tested several times over ~9min, reverted back and ran the diag.
Would you like me to try any other way tomorrow?
tir. 23. apr. 2024 21.26 skrev Edwin Biemond @.***>:
I see the logs are after you set it to 0 again
solarcharger_use_mode { metrics: UserRequestMetrics { createdAt: 2024-04-23T18:39:23.132Z, startedAt: 2024-04-23T18:39:23.133Z, receivedAt: 2024-04-23T18:39:23.325Z }, request: ModbusTCPRequest { _id: 1, _protocol: 0, _length: 6, _unitId: 1, _body: WriteSingleRegisterRequestBody { _fc: 6, _address: 31, _value: 0 } }, response: ModbusTCPResponse { _id: 1, _protocol: 0, _bodyLength: 6, _unitId: 1, _body: WriteSingleRegisterResponseBody { _fc: 6, _address: 31, _value: 0 } } }
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2073248899, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMDV3VN44Z4PQ2SY2GLY62YWZAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGI2DQOBZHE . You are receiving this because you authored the thread.Message ID: @.***>
yeah like to check when you do use mode and charge/discharge if it shows up at least . and do some test plus see this condition logs I hope
at least try to fix error with key: consum_energy_today
with https://homey.app/a/solaredge.modbus/test/
ab78da58-fc4a-4490-96fb-4b13f0a00834 Errors with version 110
tir. 23. apr. 2024 23.12 skrev Edwin Biemond @.***>:
at least try to fix error with key: consum_energy_today with https://homey.app/a/solaredge.modbus/test/
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2073452966, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMHT5EJKYMEMUWDVXSTY63FEHAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGQ2TEOJWGY . You are receiving this because you authored the thread.Message ID: @.***>
what is the error ?
see no errors , at least consum_energy_total is ok now. still see SolarChargerUseMode 0 0 SolarChargerUseMode ManualMode 0 0 Manual mode
Test of use mode = x always ok if tested for "self use", Always fails for "Manual mode" Test of manual mode = x Always ok if tested for "stop", Always fails for "discharge"
ons. 24. apr. 2024 11.09 skrev Edwin Biemond @.***>:
what is the error ?
see no errors , at least consum_energy_total is ok now. still see SolarChargerUseMode 0 0 SolarChargerUseMode ManualMode 0 0 Manual mode
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2074467907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMETMLOM3C2AXAIKK7TY65ZFZAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZUGQ3DOOJQG4 . You are receiving this because you authored the thread.Message ID: @.***>
yeah , lets sync up at a fixed , where you do use mode from self use to manual.
will check it if it is changed , after that we can check the condition
Sure. What time/date would suit you? I can do it almost any time as it can be done regardless of where I am ;)
Den ons. 24. apr. 2024 kl. 17.28 skrev Edwin Biemond < @.***>:
yeah , lets sync up at a fixed , where you do use mode from self use to manual. will check it if it is changed , after that we can check the condition
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2075219000, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMAOTWKP5Z5CT5MUZSTY67FS3AVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZVGIYTSMBQGA . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
nice we can do it tomorrow at 8pm
Ok. Let's try that 😀
ons. 24. apr. 2024 22.02 skrev Edwin Biemond @.***>:
nice we can do it tomorrow at 8pm
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2075741722, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMELZ6PVA5SRFJSPASDY7AFTZAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZVG42DCNZSGI . You are receiving this because you authored the thread.Message ID: @.***>
hey
did you ip changed? different wifi
Could have changed when we had power outlet. Currently it's 77.33.9.49
tor. 25. apr. 2024 20.03 skrev Edwin Biemond @.***>:
did you ip changed? different wifi
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2077856218, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMGOAGDVEFU7FUT4KCTY7FAOLAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXHA2TMMRRHA . You are receiving this because you authored the thread.Message ID: @.***>
thanks , checking current state
oh you mean openvpn?
Should be self use 😀
tor. 25. apr. 2024 20.13 skrev Edwin Biemond @.***>:
thanks , checking current state
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2077878501, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMD77AHPLF2GKZRMMRDY7FBVTAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXHA3TQNJQGE . You are receiving this because you authored the thread.Message ID: @.***>
no no - the state of the inverter. It's in use mode = self use
Den tors. 25. apr. 2024 kl. 20.14 skrev Edwin Biemond < @.***>:
oh you mean openvpn?
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2077880054, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMDD4IGSBQOXV5GDU4TY7FBYXAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXHA4DAMBVGQ . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
Connected ... SolarChargerUseMode: 0 output power limits precent 0~100: 100 Manual mode: 0
can you set it to manual
yes. confirm.
Den tors. 25. apr. 2024 kl. 20.16 skrev Edwin Biemond < @.***>:
Connected ... SolarChargerUseMode: 0 output power limits precent 0~100: 100 Manual mode: 0
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2077883262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMFU7MN3NBOAO2UCQN3Y7FCALAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXHA4DGMRWGI . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
changed to manual mode via other app/flow
Den tors. 25. apr. 2024 kl. 20.16 skrev Edwin Biemond < @.***>:
can you set it to manual
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2077884050, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMBQIOTFGFBTE7WPZYLY7FCBXAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXHA4DIMBVGA . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
yes that is good
SolarChargerUseMode: 3
output power limits precent 0~100: 100
Manual mode: 0
can you test for manual on this use mode condition.
correcting - changed via flow in your app. Sorry about that :)
Den tors. 25. apr. 2024 kl. 20.18 skrev Joergen Seemann @.***>:
changed to manual mode via other app/flow
Den tors. 25. apr. 2024 kl. 20.16 skrev Edwin Biemond < @.***>:
can you set it to manual
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2077884050, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMBQIOTFGFBTE7WPZYLY7FCBXAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXHA4DIMBVGA . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
-- Med venlig hilsen Jørgen
no problem, and right after can you send me a report.
tested - failed.
Den tors. 25. apr. 2024 kl. 20.19 skrev Edwin Biemond < @.***>:
can you test for manual on this use mode condition.
— Reply to this email directly, view it on GitHub https://github.com/biemond/solaredge.modbus/issues/70#issuecomment-2077890053, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVMMPMEIOAS7DETIFO5HFZ3Y7FCLJAVCNFSM6AAAAABFKKWOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXHA4TAMBVGM . You are receiving this because you authored the thread.Message ID: @.***>
-- Med venlig hilsen Jørgen
Note Solax supports both own Lithium battery as well as Lead Acid batteries :)