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. Development
  3. Hooking into Ethernet gateway.

Hooking into Ethernet gateway.

Scheduled Pinned Locked Moved Development
2 Posts 2 Posters 1.0k Views 1 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.
  • AtomicGrogA Offline
    AtomicGrogA Offline
    AtomicGrog
    wrote on last edited by
    #1

    End game is some kind of integration with my Fibaro HC2 however as it stands the HC2's capabilities are somewhat limited - I can create a virtual device but being able to use is as a power consumption meter for now is near impossible. Cross fingers that the latter releases open up the API (A lot...).

    So.. in the meantime I want to see if there's a few workarounds, I have a Z-Wave module from a Razberry and the innards from a Z-Wave dimmer module to use as a potential hook into the platform, failing that I'll invest in a universal sensor and use it to trigger events within the HC2 at which point i'll look to poll the sensor values.

    Problem is, I cant fathom how the ethernet connection works. Is there a published API/Protocol? I assumed it was the same as the serial protocol, just over IP.

    Am I on the right track? if not can someone point me in the correct direction.

    Cheers

    Atomic

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

      @AtomicGrog said:

      Cross fingers that the latter releases open up the API (A lot...).

      Yeah, it's a pity they don't open up their API a bit more. The problem is that it won't allow you to keep an outgoing socket open all the time. Also no way of pragmatically create devices (the last time I looked).
      One solution could be to have the gateway "ping" a HC2 device when a message is available over http-api. The device then open the socket to receive the message from gateway. Hackish .. yeah I know.

      Yes, the protocol is the same over an ethernet socket.

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


      12

      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