sstadlberger/home

detailed Tutorial how to add device

Opened this issue · 6 comments

Is there a possibility of a detailed tutorial on how to add own devices?

Hi,
can you please explain which devices you would like to add and how do you want to control them (API/Websocket)?

Hi,
I would like to control my own switch actuator based on an esp8266 via the user interface of the free @ home system.
is that even possible?

Hi,
it is possible but I have only tried it with switch actuators for my HomeKit project.
However this method requires an empty channel (no physical devices connected) on your switch actuator (Schaltaktor).

Basically you will then be able to listen for the state (web socket or polling) with the API of the switch actuator. That's at least how I am doing it.

I have also seen notifications coming from the SysAp for buttons (Sensor/Taster) but haven't really digged into it yet. You can try to listen to the web socket setup by the API and should be able to see if a button is pressed and process this.

See: https://github.com/sstadlberger/home#websocket-api

The websocket-api I have already tried and I have seen telegrams sent by the sensor units, etc. But it is also possible to create a device with The API(Data.json?) that appears as a physical devicein the config of the free @ home?

Sorry that's not possible I think. You can only use supported devices from free@home.

Hi All,

I'm currently not actively working in this project. I've started using the free@home binding with openHAB. As far as I can tell it supports all the functionality of free@home and openHAB's features are way bigger than anything I've build so far.

You can check it out here: (https://github.com/ruebox/openhab2-addons/blob/feature_binding_freeathome/addons/binding/org.openhab.binding.freeathome/README.md

Cheers,
Stefan