Closed mek-yt closed 1 year ago
@neruyzo From what i can see everything is oke. To be sure i just tested and i cannot reproduce this, in fact it works like a charm.
So it must be the ZB module, can you reflash it with CC2530ZNP-with-SBL.hex from this package folder ds3 If that won't help, could you install an older version to see if the problem persist? v9_16
@patience4711
It's more verbose with paircmd
send, failure at paircmd 3
withinverter got id 0000
response and paircmd 1
/paircmd 2
with no valid pairing code, returning...
.
I tried the two first ids of my inverter list. The inverters are one month old and maybe from new batch with different/new firmware, if it matters.
After tried multiple times the second id, the pairing was a success and I receive a id A3D8
, it's still not pull but I tried to manually pull with 10;POLL=1
which return :
polling
--
zb send poll cmd inverter 1
sendSB sent FE1D2401A3D81414060001000F1380971B01A3D8FBFB06BB000000000000C1FEFE52
readZB FE0164010064FE034480CD14011F rc=14
no AF_DATA_CONFIRM
polling failed 11
So it must be the ZB module, can you reflash it with CC2530ZNP-with-SBL.hex
CC2530ZNP-with-SBL.hex
not CC2530ZNP_2591-with-SBL.hex
from this folder ?
Yes, they both should work but i only can say for sure with the CC2530ZNP-with-SBL.hex.
BTW it looks like it should now but the A3D8 is the ECU short-id, which means that it didn't pair.
In the answers 1 or 2 the sought id should be right after the last occurance of the inverter serialnr, should not be the A3D8
Where did you get the file you flashed on the zigbee?
With CC2530ZNP-with-SBL.hex
given by your link, the second inverter is "pair", the others fails with returning id 0000.
The poll is not working (the weather is really bad today, maybe some problem from this), when manually ask the first command 10;POLL=1
fail but the second return :
zb send poll cmd inverter 1
--
sendSB sent FE1D24016A4C1414060001000F1380971B01A3D8FBFB06BB000000000000C1FEFE0F
readZB FE0164010064FE034480001401D2FE0345C46A4C00A4FE0345C46A4C00A4FE0345C46A4C00A4FE7D4481000006016A4C1414001A000E0010000069703000734060FBFB5CBBBB20000500CBFFFF0000000080000AAA0902090400010000003900439ADD00000000FFFF0026074F000158DB000026BB0C01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3573FEFE6A4C6AC6 rc=168
extracted sigQ = 10.2
decoding a DS3 inverter
extracted ACV = 15.0
extracted FREQ = 0.7
extracted HEATH = 13.2
* * * * polled inverter 1 * * * *
extracted time = 39645 the timespan = 278
* decoding panel 0 en_old 1.43
en_extr 88283.00 en_saved 1.47
en_incr 0.04 power 0.48
* decoding panel 1 en_old 0.16
en_extr 9915.00 en_saved 0.16
en_incr 0.00 power 0.00
no panel 2
no panel 3
total energy increase: 0.04
total energy stacked in Inv_Data[which].en_total: 1.63
The log for other doesn't look different than previous fail one (it's hard to capture the log from the web UI sorry).
Short version with DIAG at 0. I tried many time the fifth one because the nr number is not far from the second one (the paired one) to check if the other have firmware problem with no success.
init zb coordinator
--
ZBmodule hard reset
ZB coordinator started
trying pair inv 4
ecu_short = A3D8
sending paircmd 0
sending paircmd 1
decoding : FE0164020067
no valid pairing code, returning...
sending paircmd 2
decoding : FE0164020067
no valid pairing code, returning...
sending paircmd 3
failed, inverter got id 0000
sending N.O. cmd
The third one pairing was a success but the value are strange with 2.3 kwh and when I tried to poll again :
poll inverter 3
--
polling
zb send poll cmd inverter 3
sendSB sent FE1D2401294B1414060001000F1380971B01A3D8FBFB06BB000000000000C1FEFE4B
readZB FE0164010064FE034480CD14011F rc=14
no AF_DATA_CONFIRM
polling failed 11
poll inverter 3
polling
zb send poll cmd inverter 3
sendSB sent FE1D2401294B1414060001000F1380971B01A3D8FBFB06BB000000000000C1FEFE4B
readZB FE0164010064 rc=6
no AF_DATA_CONFIRM
polling failed 11
Yes, they both should work but i only can say for sure with the CC2530ZNP-with-SBL.hex.
BTW it looks like it should now but the A3D8 is the ECU short-id, which means that it didn't pair.
In the answers 1 or 2 the sought id should be right after the last occurance of the inverter serialnr, should not be the A3D8
Where did you get the file you flashed on the zigbee?
I took the hex file from the ds3 folder, use the command below to convert to bin and flash from a windows computer using https://github.com/neruyzo/CCLoader.
objcopy --input-target=ihex --output-target=binary ESP-ECU_ADDON/CC25xxfirmware\ ds3/CC2530ZNP-with-SBL.hex cc2530_d0328.bin
@neruyzo Well, it looks like it works oke. The software does what it is supposed to. The values you show on the frontpage look quite normal to me. But signal quality is not good. I also saw a value of 15.3 for the ac voltage. This is not good, are you sure that the inverter is connected to the grid?
The pairing is sometimes a bit difficult, indeed during bad weather conditions, it could also be a range problem. You could try the firmware with the 2591 amplifier to improve that. I think it will be fine.
Hi, I put an external global power meter on my full solar grid and every inverter/panel should work correctly.
I think the difficulty in pairing come from my panel/inverter configuration on floor, the panel 30 cm from ground and the distance of 15 cm between the panel/inverter make it hard to capture the signal (signal should have an hard time passing through the panel) .
Overall, thanks for confirming that every things work on software side and answer my questions. I close this issue because it work correctly with DS3-L.
Hi,
I use a noname D1 Mini flash with
ESP-ECU-v10_8
and a CC2530 + 2591 flash withCC2530ZNP_2591-with-SBL.hex
. The solar panel setup is 5 DS3L and 10 solar panels, I tried pairing different inverters but the behaviors are the same.Below are commands and corresponding logs.
```text coordinator init cmd 0 sendSB sent FE03260503010321 readZB FE064180010202020702C1FE0166050062 rc=17 coordinator init cmd 1 sendSB sent FE0141000040 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2 rc=11 coordinator init cmd 2 sendSB sent FE0A26050108FFFF80971B01A3D856 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062 rc=6 coordinator init cmd 3 sendSB sent FE032605870100A6 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062FE0166050062 rc=6 coordinator init cmd 4 sendSB sent FE0426058302D8A3DD readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062FE0166050062FE0166050062 rc=6 coordinator init cmd 5 sendSB sent FE062605840400000100A4 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062FE0166050062FE0166050062FE0166050062 rc=6 coordinator init cmd 6 sendSB sent FE0D240014050F0001010002000015000020 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062FE0166050062FE0166050062FE0166050062FE0164000065 rc=6 coordinator init cmd 7 sendSB sent FE00260026 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062FE0166050062FE0166050062FE0166050062FE0164000065FE00660066FE0145C0088CFE0145C0088CFE0145C0088C rc=23 sending N.O. cmd sendSB sent FE162401FFFF1414060001000F1E80971B01A3D8FBFB1100000D4F readZB FE016401C2A6FE0145C0088CFE0145C0088CFE0145C0088C rc=24 sendSB sent FE00270027 readZB FE0E670000FFFF80971B01A3D8000007090011 rc=19 zigbee running oke ZB coordinator started ```10;init_n
```text going to send a teststring, len=17 sendSB sent FE032710AABBCCE9 readZB FE036710AABBCCA9 rc=8 ```10;ZBT=2710AABBCC
For the pairing, the web page will stay in the pairing process and the status of inverter (another tab) will be
1111
till the reboot of the ESP.Pairing an inverter
```text coordinator init cmd 0 sendSB sent FE03260503010321 readZB FE064180010202020702C1FE0166050062 rc=17 coordinator init cmd 1 sendSB sent FE0141000040 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2 rc=11 coordinator init cmd 2 sendSB sent FE0A26050108FFFF80971B01A3D856 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062 rc=6 coordinator init cmd 3 sendSB sent FE032605870100A6 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062FE0166050062 rc=6 coordinator init cmd 4 sendSB sent FE0426058302D8A3DD readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062FE0166050062FE0166050062 rc=6 coordinator init cmd 5 sendSB sent FE062605840400000100A4 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062FE0166050062FE0166050062FE0166050062 rc=6 coordinator init cmd 6 sendSB sent FE0D240014050F0001010002000015000020 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062FE0166050062FE0166050062FE0166050062FE0164000065 rc=6 coordinator init cmd 7 sendSB sent FE00260026 readZB FE064180010202020702C1FE0166050062FE064180020202020702C2FE0166050062FE0166050062FE0166050062FE0166050062FE0164000065FE00660066FE0145C0088CFE0145C0088CFE0145C0088C rc=23 sendSB sent FE00270027 readZB FE0E670000FFFF80971B01A3D8000007080010FE0145C0088C rc=25 starting ZB coordinator failed pairing failed, zb system down ```And the system information, with highlight on
zigbeeUp | 0
andcurrent errorCode | 11
.SYSTEM INFORMATION
```text firmware version | ESP-ECU-v10_8 time retrieved | yes systemtime | 15:17 summertime system uptime | 0 d 0 h 28 m wifi signalstrength | -57dB ESP CHIP ID nr: | 13179454 Free heap | 23488 bytes mqtt status | not configured zigbeeUp | 0 autopolling | 1 polled | 000000000 current errorCode | 11 ZB resetCounter | 0 ```I read that some old DS3-L may have problems and need firmware update, if one of mine look like it may need an update the other 4 look more new and were not listed.
Serial number inverter
```text 703000319xxx 703000734xxx 703000723xxx 703000723xxx 703000734xxx ```I don't know where is my mistake, the zigbee module look like working from the init and the ping, but I fail to pair any inverter. It looks like this setup is not new from previous issues with people make it work.
Thanks for the help.