Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Question about MySensors features

Question about MySensors features

Scheduled Pinned Locked Moved My Project
beginnersensorfeatures
5 Posts 4 Posters 67 Views 4 Watching
  • 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.
  • IronFelixI Offline
    IronFelixI Offline
    IronFelix
    wrote on last edited by
    #1

    Hi. Sorry for my English. I'm new to automation and programming... I want to get advice from a guru... I made an OpenHab-based controller on a Raspberry PI... Installed MySensors Binding... Now I want to make an mqtt gateway using a GatewayESP32MQTTClient sketch that will connect to the Raspberry via WiFi... But I want to connect the sensors by wire, without using RF... in each room I plan my own separate ESP 32 with sensors... How many ESP32 with GatewayESP32MQTTClient can I connect to Openhab via WiFi? In each room, about 15 sensors will be connected to the ESP32... Touch buttons, relays, gas sensors, fire sensors, leaks, etc. Can I combine 15 different sketches from the examples into one sketch? Thank you for your advice and have a nice day!

    mfalkviddM Puneit ThukralP 2 Replies Last reply
    0
    • IronFelixI IronFelix

      Hi. Sorry for my English. I'm new to automation and programming... I want to get advice from a guru... I made an OpenHab-based controller on a Raspberry PI... Installed MySensors Binding... Now I want to make an mqtt gateway using a GatewayESP32MQTTClient sketch that will connect to the Raspberry via WiFi... But I want to connect the sensors by wire, without using RF... in each room I plan my own separate ESP 32 with sensors... How many ESP32 with GatewayESP32MQTTClient can I connect to Openhab via WiFi? In each room, about 15 sensors will be connected to the ESP32... Touch buttons, relays, gas sensors, fire sensors, leaks, etc. Can I combine 15 different sketches from the examples into one sketch? Thank you for your advice and have a nice day!

      mfalkviddM Online
      mfalkviddM Online
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @IronFelix said in Question about MySensors features:

      Can I combine 15 different sketches from the examples into one sketch?

      You might be able to. I am pretty sure I would not be able to. Having all that complexity in a single sketch would be a nightmare to troubleshoot. Start small, build a simple node. Then build another one, maybe slightly more complicated, but don't try to fit everything into a single node.

      IronFelixI 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @IronFelix said in Question about MySensors features:

        Can I combine 15 different sketches from the examples into one sketch?

        You might be able to. I am pretty sure I would not be able to. Having all that complexity in a single sketch would be a nightmare to troubleshoot. Start small, build a simple node. Then build another one, maybe slightly more complicated, but don't try to fit everything into a single node.

        IronFelixI Offline
        IronFelixI Offline
        IronFelix
        wrote on last edited by
        #3

        @mfalkvidd Thank you very much! It's not that simple.

        1 Reply Last reply
        0
        • archiijsA Offline
          archiijsA Offline
          archiijs
          wrote on last edited by
          #4

          When I started this was my intent as well. Not exactly 15 but 6-10 for some nodes. It starts to get hard and messy really fast. I was abble to get some basic stuff combined but nothing more. But that's because I am not so good with programming.
          So for me I ended up going mostly to esphome and tasmota as almost all my sensors are powered by mains and that matches my knowledge more. But that all depends on your skills mostly.

          1 Reply Last reply
          1
          • IronFelixI IronFelix

            Hi. Sorry for my English. I'm new to automation and programming... I want to get advice from a guru... I made an OpenHab-based controller on a Raspberry PI... Installed MySensors Binding... Now I want to make an mqtt gateway using a GatewayESP32MQTTClient sketch that will connect to the Raspberry via WiFi... But I want to connect the sensors by wire, without using RF... in each room I plan my own separate ESP 32 with sensors... How many ESP32 with GatewayESP32MQTTClient can I connect to Openhab via WiFi? In each room, about 15 sensors will be connected to the ESP32... Touch buttons, relays, gas sensors, fire sensors, leaks, etc. Can I combine 15 different sketches from the examples into one sketch? Thank you for your advice and have a nice day!

            Puneit ThukralP Offline
            Puneit ThukralP Offline
            Puneit Thukral
            wrote on last edited by
            #5

            @IronFelix
            I would not combine so many inputs and outputs in one sketch. But I think if there is enough memory for variables ; then it is possible to go for sensing (step by step) for a combination of sensors.
            Similarly for buttons, actuators, use a separate hardware.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            13

            Online

            11.7k

            Users

            11.2k

            Topics

            113.0k

            Posts


            Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular