Open Knak79 opened 5 months ago
hey
I think the. ip should be local and we use 502 as port mostly . modbus id 1 can be ok. Also make sure you don't connect too many apps to do modbus on the s dongle. dongle cannot handle a lot of load.
thanks
Hi @biemond Sorry to bother you. I'm a newbie as well to this. Same situation for me. All data points show up as last value unknown. This is the only modbus tcp device communication. Other devices communicate on modbus RTU directly to the inverter rather then the S-dongle. Did a port scan, port 502 is open connection was succesful. Found some other threads that the timeout should be significantly increased, even as far as 2000ms. Don't see this option. Could you help? Having this data would be a game changer for me and would be greatly appreciated!
hey,
nice, just use port 502on that ip and I did all timeouts etc for you already
probably your modbus id = 1 for your inverter. can you try that
s-dongle becomes an issue with 2 inverters on 1 s dongle. I don't support that because s dongle is unstable.
hi @biemond Local IP used 192.168.0.16 Port 502 (verified open) Inverter Id = 1 Removed and added device to Homey again To be 100% sure only homey has acces to the modbus/tcp from inverter I restricted acces to that IP. Still same issue it seems. Not 100% sure how to interpret the data in developper toolkit. added screenshots fyi
can you send me a diagnostic report.
@biemond Sure, should have thought about it to do it immediatly :) 8032C47B
I think you send the homey 1 , you can go to my homey app and do it from there.
@biemond my bad, 9d3b2c90-8a46-4274-83a7-939372e1a81d
looks like connection is ok but sdongle does not connect to the modbus. what is the modbus id you use and do you have another running program who read this data?
Note: this log has been manually submitted by a user.
Log ID: 9d3b2c90-8a46-4274-83a7-939372e1a81d
User Message:
As discussed on github
stdout:
error with key: STORAGE_FORCIBLE_CHARGE_DISCHARGE_SOC
UserRequestError {
err: 'Offline',
message: 'no connection to modbus server',
response: undefined
}
error with key: STORAGE_FORCIBLE_CHARGE_DISCHARGE_WRITE
UserRequestError {
err: 'Offline',
message: 'no connection to modbus server',
response: undefined
}
Dag Edwin
Dankje voor de troubleshooting. Alles qua instellingen lijkt dus goed te zitten. Modbus id =1
Ik heb een support case bij huawei geopend. Even afwachten wat zij wel/niet kunnen zien. Alvast bedankt om menop het juiste spoor te zetten.
Grt Ruben
Verstuurd vanaf mijn iPhone
Op 5 jun 2024 om 09:47 heeft Edwin Biemond @.***> het volgende geschreven:
looks like connection is ok but sdongle does not connect to the modbus. what is the modbus id you use and do you have another running program who read this data?
Note: this log has been manually submitted by a user. Log ID: 9d3b2c90-8a46-4274-83a7-939372e1a81d
User Message:
As discussed on github
stdout:
error with key: STORAGE_FORCIBLE_CHARGE_DISCHARGE_SOC
UserRequestError { err: 'Offline', message: 'no connection to modbus server', response: undefined } error with key: STORAGE_FORCIBLE_CHARGE_DISCHARGE_WRITE UserRequestError { err: 'Offline', message: 'no connection to modbus server', response: undefined }
— Reply to this email directly, view it on GitHubhttps://github.com/biemond/solaredge.modbus/issues/82#issuecomment-2149112753, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFUSSNWQESAAS5ULSZWEZ4DZF27BRAVCNFSM6AAAAABIXZDRQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBZGEYTENZVGM. You are receiving this because you commented.Message ID: @.***>
Hi, I am able to connect to the inverter through Homey, but I keep getting the message "last value unknown" on every parameter. Any ideas on what have been setup wrong? I have used the IP of the dongle and port 30024 and ID 1.