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. Controllers
  3. IP-Symon as controller

IP-Symon as controller

Scheduled Pinned Locked Moved Controllers
2 Posts 2 Posters 1.5k Views 2 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.
  • mibuM Offline
    mibuM Offline
    mibu
    wrote on last edited by
    #1

    Hello!

    since a couple of years I am using IP-Symcon in order to control my house.
    Now, I stumbled over MySensors. The first sensors, actors and a gateway are up'n'going. Out of question, I want to use my ip-symcon as MySensor controller, too. First steps are done and I can see climate, control relays and RGB stripes from the existing webfront. Therefore I wrote a script, which handles the communication with an ethernet gateway. When a Sensor sends it's presentation message, the script automatically creates variables in the ip-symcon variable tree. And here the problem starts. Ip-symcon is using bool, int, float or string. It seems, that serial API doesn't define the expected variable type?! I mean, for a few sub types it seems to be more or less obvious (eg. V_STATUS should be bool), but most of the others??? Ones the first set msg drops in, it becomes more clear, but that's not straight forward, imho.
    As well, how can I know, if a sensor child can also be written or not?
    How do other controllers handle this? Or am I just missing something?

    Regards and thanks for the amazing work done so fare,

    Michael

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      Hi @mibu, welcome here!

      The most problematic once is V_VARx which could hold any of the types you mention. I suggest you store it as a string. As it's mostly used for re-fetching from the node.

      Couldn't you store all the numeric values as a float?

      If you have problem deciding for something else, get back to me.

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


      25

      Online

      11.7k

      Users

      11.2k

      Topics

      113.1k

      Posts


      Copyright 2025 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