Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not reading values #11

Open
jeedee5 opened this issue Apr 19, 2024 · 1 comment
Open

Not reading values #11

jeedee5 opened this issue Apr 19, 2024 · 1 comment

Comments

@jeedee5
Copy link

jeedee5 commented Apr 19, 2024

Hi, great work on this project, but I don't seem to get any values...
I have put this same question in darrylb's project...

When looking into the serial log, it seems to be connecting, as it is showing the inverter's serial, and its netID, however it doesn't seem to be reading any values...

I have been using SBFSpot to read the values, and that one still works ok...

2024-04-17 11:23:26.0642 W ESP32_SMA_Inverter_App Connecting SMA inverter:
2024-04-17 11:23:29.0957 W ESP32_SMA_Inverter_App BT connected
2024-04-17 11:23:29.0957 I ESP32_SMA_Inverter -> Initialize
2024-04-17 11:23:29.0920 D ESP32_SMA_Inverter L1 Rec=18 bytes pkL=0x001f=31 Cmd=0x0002
2024-04-17 11:23:29.0920 D ESP32_SMA_Inverter HasL2pckt: 0x7E?=0x00 0x656003FF?=0x07007004
2024-04-17 11:23:29.0915 D ESP32_SMA_Inverter pcktBufMax is now 31 bytes
2024-04-17 11:23:29.0909 I ESP32_SMA_Inverter SMA netID=07
...
2024-04-17 11:23:29.0674 W ESP32_SMA_Inverter Serial Nr: 210027*0
...
24-04-17 11:23:50.0324 D ESP32_SMA_Inverter *** SpotACTotalPower ***
2024-04-17 11:23:50.0318 D ESP32_SMA_Inverter isCrcValid at pcktBufPos: 1
2024-04-17 11:23:50.0229 D ESP32_SMA_Inverter L1 Rec=18 bytes pkL=0x0054=84 Cmd=0x0001
2024-04-17 11:23:50.0163 D ESP32_SMA_Inverter L1 Rec=18 bytes pkL=0x0040=64 Cmd=0x0001
2024-04-17 11:23:50.0163 D ESP32_SMA_Inverter HasL2pckt: 0x7E?=0x7E 0x656003FF?=0x656003FF
2024-04-17 11:23:50.0158 D ESP32_SMA_Inverter Packet status: 0xFFFF
2024-04-17 11:23:50.0152 I ESP32_SMA_Inverter Retrying.1
2024-04-17 11:23:50.0147 D ESP32_SMA_Inverter isCrcValid at pcktBufPos: 1
2024-04-17 11:23:50.0933 D ESP32_SMA_Inverter L1 Rec=18 bytes pkL=0x0040=64 Cmd=0x0001
2024-04-17 11:23:50.0932 D ESP32_SMA_Inverter HasL2pckt: 0x7E?=0x7E 0x656003FF?=0x656003FF
2024-04-17 11:23:50.0928 D ESP32_SMA_Inverter Packet status: 0xFFFF
2024-04-17 11:23:50.0920 W ESP32_SMA_MQTT Connecting to MQTT Broker
2024-04-17 11:23:50.0916 W ESP32_SMA_MQTT The client SMA-3FFD044C connects to the mqtt broker
2024-04-17 11:23:50.0906 W ESP32_SMA_MQTT without user/password
2024-04-17 11:23:50.0847 I ESP32_SMA_MQTT SMA-3FFD03CC-2100278992/state = { "Serial": 2100278992, "BTStrength": 7.84, "Uac": [ 0.00, 0.00, 0.00 ], "Iac": [ 0.00, 0.00, 0.00 ], "Pac": 0, "Udc": [ 0.00 , 0.00 ], "Idc": [ 0.00 , 0.00 ], "Wdc": [ 0 , 0 ], "Freq": 0.00, "EToday": 0.00, "ETotal": 0.00, "InvTemp": 0.00, "DevStatus": "0", "GridRelay": "0" }
2024-04-17 11:23:50.0819 I ESP32_SMA_MQTT Published
...

Any idea where to troubleshoot next?
I have 2x SB4000-TL-21 and 1xSB1700

@theonejj
Copy link

I have the same issue:

2024-05-15 12:05:45.0695 W ESP32_SMA_MQTT  Connect formpage
2024-05-15 12:05:47.0760 W ESP32_SMA_Inverter_App  Connecting SMA inverter: 
2024-05-15 12:05:48.0891 W ESP32_SMA_Inverter_App  BT connected 
2024-05-15 12:05:48.0891 I ESP32_SMA_Inverter   -> Initialize
2024-05-15 12:05:48.0877 D ESP32_SMA_Inverter  L1 Rec=18 bytes pkL=0x001f=31 Cmd=0x0002
2024-05-15 12:05:48.0876 D ESP32_SMA_Inverter  HasL2pckt: 0x7E?=0x00 0x656003FF?=0x01007004
2024-05-15 12:05:48.0872 I ESP32_SMA_Inverter  SMA netID=01
2024-05-15 12:05:48.0828 D ESP32_SMA_Inverter  L1 Rec=18 bytes pkL=0x001f=31 Cmd=0x000a
2024-05-15 12:05:48.0828 D ESP32_SMA_Inverter  HasL2pckt: 0x7E?=0x9A 0x656003FF?=0x802530C1
2024-05-15 12:05:48.0823 D ESP32_SMA_Inverter  L1 Rec=18 bytes pkL=0x0014=20 Cmd=0x000c
2024-05-15 12:05:48.0816 D ESP32_SMA_Inverter  HasL2pckt: 0x7E?=0x02 0x656003FF?=0x80253000
2024-05-15 12:05:48.0808 D ESP32_SMA_Inverter  L1 Rec=18 bytes pkL=0x0022=34 Cmd=0x0005
2024-05-15 12:05:48.0800 D ESP32_SMA_Inverter  HasL2pckt: 0x7E?=0x9A 0x656003FF?=0x802530C1
2024-05-15 12:05:48.0792 W ESP32_SMA_Inverter  ESP32 BT address: 3C:71:BF:F5:41:BE
2024-05-15 12:05:48.0706 D ESP32_SMA_Inverter  L1 Rec=18 bytes pkL=0x006a=106 Cmd=0x0001
2024-05-15 12:05:48.0706 D ESP32_SMA_Inverter  HasL2pckt: 0x7E?=0x7E 0x656003FF?=0x656003FF
2024-05-15 12:05:48.0701 W ESP32_SMA_Inverter  Serial Nr: <MY-SN>
2024-05-15 12:05:48.0695 I ESP32_SMA_Inverter_App  SMA 0 
2024-05-15 12:05:48.0690 I ESP32_SMA_Inverter  *** SignalStrength ***
2024-05-15 12:05:48.0646 D ESP32_SMA_Inverter  L1 Rec=18 bytes pkL=0x0018=24 Cmd=0x0004
2024-05-15 12:05:48.0646 D ESP32_SMA_Inverter  HasL2pckt: 0x7E?=0x05 0x656003FF?=0xA7000000
2024-05-15 12:05:48.0641 I ESP32_SMA_Inverter  BT-Signal      65.5 %
2024-05-15 12:05:48.0636 W ESP32_SMA_Inverter_App  *** logonSMAInverter
2024-05-15 12:05:48.0527 D ESP32_SMA_Inverter  L1 Rec=18 bytes pkL=0x0054=84 Cmd=0x0001
2024-05-15 12:05:48.0526 D ESP32_SMA_Inverter  HasL2pckt: 0x7E?=0x7E 0x656003FF?=0x656003FF
2024-05-15 12:05:48.0522 I ESP32_SMA_Inverter_App  Logon return code 0
2024-05-15 12:05:48.0516 D ESP32_SMA_Inverter  *** SpotACTotalPower ***
2024-05-15 12:05:48.0509 D ESP32_SMA_Inverter  isCrcValid at pcktBufPos: 1
2024-05-15 12:05:48.0427 D ESP32_SMA_Inverter  L1 Rec=18 bytes pkL=0x0040=64 Cmd=0x0001
2024-05-15 12:05:48.0427 D ESP32_SMA_Inverter  HasL2pckt: 0x7E?=0x7E 0x656003FF?=0x656003FF
2024-05-15 12:05:48.0422 D ESP32_SMA_Inverter  Packet status: 0xFFFF
2024-05-15 12:05:48.0416 I ESP32_SMA_Inverter  Retrying.1
2024-05-15 12:05:48.0411 D ESP32_SMA_Inverter  isCrcValid at pcktBufPos: 1
2024-05-15 12:05:48.0301 D ESP32_SMA_Inverter  L1 Rec=18 bytes pkL=0x0040=64 Cmd=0x0001
2024-05-15 12:05:49.0300 D ESP32_SMA_Inverter  HasL2pckt: 0x7E?=0x7E 0x656003FF?=0x656003FF
2024-05-15 12:05:49.0296 D ESP32_SMA_Inverter  Packet status: 0xFFFF
2024-05-15 12:05:49.0288 W ESP32_SMA_MQTT  Connecting to MQTT Broker
2024-05-15 12:05:49.0270 W ESP32_SMA_MQTT  The client SMA-3FFD059C connects to the mqtt broker mqtt.mylan.lan
2024-05-15 12:05:49.0269 W ESP32_SMA_MQTT   with user/password
2024-05-15 12:05:49.0220 I ESP32_SMA_MQTT  sma/solar/SMA-<MY-SN>/state = { "Serial": <MY-SN>, "BTStrength":  65.49, "Uac": [   0.00,   0.00,   0.00 ], "Iac": [   0.00,   0.00,   0.00 ], "Pac":      0, "Udc": [   0.00 ,   0.00 ], "Idc": [   0.00 ,   0.00 ], "Wdc": [     0 ,      0 ], "Freq":  0.00, "EToday":   0.00, "ETotal":            0.00, "InvTemp": 0.00, "DevStatus": "0", "GridRelay": "0" }
2024-05-15 12:05:49.0191 I ESP32_SMA_MQTT  Published

SBFspot is working for me as well
inverter = SB 3000hf-30
board = esp32dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants