Hooking into Ethernet gateway.



  • 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


  • Admin

    @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.


Log in to reply
 

Suggested Topics

  • 1
  • 2
  • 1
  • 2
  • 1
  • 6

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts