🤖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

    Scheduled Pinned Locked Moved Features Wish List
    7 Posts 4 Posters 4.7k Views
    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 Offline
      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 Offline
        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 Offline
          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, M5Tab, M5CardputerAdv, M5StackChan

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

            @robski Hi, if I understand correctly, yes.

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

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

              1 Reply Last reply Reply Quote 0
              • H Offline
                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 Offline
                  Marco1 @holofloh
                  last edited by

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

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post