🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Shelly EM50 and Shelly PRO3M

    Features Wish List
    4
    7
    2.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Marco1
      last edited by

      Good evening, is it possible to view on M5STACK CORE2 the power detected by Shelly EM50 and SHELLY PRO3M via Modbus TCP?
      Thank you all.

      robskiR 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        If you can write the code to read and display the information then maybe.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        M 1 Reply Last reply Reply Quote 0
        • robskiR
          robski @Marco1
          last edited by

          @marco1 said in Shelly EM50 and Shelly PRO3M:

          Good evening, is it possible to view on M5STACK CORE2 the power detected by Shelly EM50 and SHELLY PRO3M via Modbus TCP?
          Thank you all.

          are those Shelly devices giving it out in Modbus format?

          M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

          M 1 Reply Last reply Reply Quote 0
          • M
            Marco1 @robski
            last edited by

            @robski Hi, if I understand correctly, yes.

            1 Reply Last reply Reply Quote 0
            • M
              Marco1 @ajb2k3
              last edited by

              @ajb2k3 Thanks, but I can't do it...

              1 Reply Last reply Reply Quote 0
              • H
                holofloh
                last edited by

                Thanks, but I can't do it...

                you can learn it!

                Modbus TCP is nice but not very easy to use as you have to deal with "cryptic" IDs. Shelly devices are also support MQTT and HTTP(S). It may be more easy to get the required data by HTTP.

                I know only the Gen1 devices but the Gen2 and Gen3 should work similar. All possible requests are well documented https://shelly-api-docs.shelly.cloud/

                If you type in your browser http://<ip-address-of-your-shelly>/status you get a answer as a JSON file. This can be parsed very easy in UiFlow or Arduino to pick out the information you want. Once you have it in a variable you can display it, calculate with it or whatever you want.

                M 1 Reply Last reply Reply Quote 0
                • M
                  Marco1 @holofloh
                  last edited by

                  @holofloh thank you very much, I will try to study...

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post