Ad Widget

Collapse

Deye Sun30k Sun6k zabbix modbus integration via LSE-3

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • piton4ik
    Junior Member
    • Nov 2024
    • 13

    #1

    Deye Sun30k Sun6k zabbix modbus integration via LSE-3

    hello, in a neighboring thread I was told how to read registers via modbus as an standard zabbix modbus get,

    would like to make a proper template now and share with the community

    sun30k is a high voltage inverter,
    sun6k is a low voltage inverter,
    so, patterns will differ due to differences in internal registers


    It is interesting to know how many registers can be read at a time, is it limited by software or does it depend only on the device?
    for example, now I'm trying to implement it like this

    one main Item, which will receive 10-20 values ​and give to subordinates


    Click image for larger version  Name:	image.png Views:	0 Size:	58.1 KB ID:	494436

    is this the correct implementation?
    Last edited by piton4ik; 18-11-2024, 14:56.
  • Answer selected by piton4ik at 19-12-2025, 16:57.
    piton4ik
    Junior Member
    • Nov 2024
    • 13

    Originally posted by piton4ik
    troffasky cyber
    Yesterday I created an item with a key that receives 3 numbers of data from the Deye SUN-30K inverter - voltage Grig
    but today I saw that the trigger for the loss of phase A is constantly triggered, after which I discovered an interesting problem with the 0th element of the Json Path array
    look at the screenshot
    Click image for larger version  Name:	image.png Views:	322 Size:	29.4 KB ID:	494497

    Click image for larger version  Name:	image.png Views:	284 Size:	122.7 KB ID:	494498

    Click image for larger version  Name:	image.png Views:	287 Size:	57.0 KB ID:	494499




    Click image for larger version  Name:	image.png Views:	288 Size:	36.0 KB ID:	494500

    problem fixed,
    i install new version zabbix and problem fixed,
    thank all​

    Comment

    • piton4ik
      Junior Member
      • Nov 2024
      • 13

      #2
      troffasky cyber
      Yesterday I created an item with a key that receives 3 numbers of data from the Deye SUN-30K inverter - voltage Grig
      but today I saw that the trigger for the loss of phase A is constantly triggered, after which I discovered an interesting problem with the 0th element of the Json Path array
      look at the screenshot
      Click image for larger version

Name:	image.png
Views:	339
Size:	29.4 KB
ID:	494497

      Click image for larger version

Name:	image.png
Views:	301
Size:	122.7 KB
ID:	494498

      Click image for larger version

Name:	image.png
Views:	303
Size:	57.0 KB
ID:	494499




      Click image for larger version

Name:	image.png
Views:	305
Size:	36.0 KB
ID:	494500

      Comment

      • piton4ik
        Junior Member
        • Nov 2024
        • 13

        #3
        master item
        Click image for larger version

Name:	image.png
Views:	295
Size:	66.6 KB
ID:	494502

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4806

          #4
          Looks weird, but same thing is working "in my computer"..
          In your case it fails to identify first element, then sets valued to -2 (custom on fail), then multiplies by 0.1 and saves as unsigned int 0.2.... (shoudl be float, I think, but that does not resolve extracting issue)

          But when I test preprocessing I can get that first number out of [2338,2339,2340] nicely... So I dont really know whats the issue here...
          Click image for larger version

Name:	image.png
Views:	297
Size:	42.7 KB
ID:	494526

          Comment

          • troffasky
            Senior Member
            • Jul 2008
            • 565

            #5
            Looks OK to me....can't explain why Voltage A doesn't work. Does Voltage A never work, or just sometimes?
            Does the log say why that item doesn't work? Some weird s*** like a NUL or some other non-printable character in there?

            Comment

            • piton4ik
              Junior Member
              • Nov 2024
              • 13

              #6
              I probably created a buggy element, I don't understand how it works but it is, I created another one next to it and it works fine, I need help figuring out what the problem is

              Click image for larger version

Name:	image.png
Views:	287
Size:	39.7 KB
ID:	494615
              Click image for larger version

Name:	image.png
Views:	286
Size:	56.1 KB
ID:	494616Click image for larger version

Name:	image.png
Views:	295
Size:	123.8 KB
ID:	494617

              Click image for larger version

Name:	image.png
Views:	300
Size:	85.0 KB
ID:	494618

              Comment

              • piton4ik
                Junior Member
                • Nov 2024
                • 13

                #7
                Click image for larger version

Name:	image.png
Views:	299
Size:	140.0 KB
ID:	494628
                tell me how to work with bits in zabbix?
                for example, register 552 gives a byte, this is our parent item, the question is how do I get individual bits from this item, bit0 bit1. . bit8
                it's strange that the manufacturer made 9 bits in this register)​

                Comment

                • piton4ik
                  Junior Member
                  • Nov 2024
                  • 13

                  #8
                  dublicated text
                  Last edited by piton4ik; 19-12-2025, 16:58.

                  Comment

                  • piton4ik
                    Junior Member
                    • Nov 2024
                    • 13

                    #9
                    Originally posted by piton4ik
                    troffasky cyber
                    Yesterday I created an item with a key that receives 3 numbers of data from the Deye SUN-30K inverter - voltage Grig
                    but today I saw that the trigger for the loss of phase A is constantly triggered, after which I discovered an interesting problem with the 0th element of the Json Path array
                    look at the screenshot
                    Click image for larger version  Name:	image.png Views:	322 Size:	29.4 KB ID:	494497

                    Click image for larger version  Name:	image.png Views:	284 Size:	122.7 KB ID:	494498

                    Click image for larger version  Name:	image.png Views:	287 Size:	57.0 KB ID:	494499




                    Click image for larger version  Name:	image.png Views:	288 Size:	36.0 KB ID:	494500

                    problem fixed,
                    i install new version zabbix and problem fixed,
                    thank all​

                    Comment

                    Working...