jheling / freeathome

Free@Home component for Home Assistant
103 stars 37 forks source link

Please export / expose also virtual devices with serial number 6000xxxxxxx #162

Closed janpschaefer closed 9 months ago

janpschaefer commented 11 months ago

It would be really great to also export virtual free@home devices with serial 6000 to HA

jheling commented 10 months ago

Hello, i have finally found some time to dive into this. Can give me an example of such a virtual device? I have looked at the requirements for these virtual devices: A system access point 2.0 with at least version 2.6.0 must be available. Unfortunately i have a system access point 1.0.

KKlausl commented 10 months ago

Hello, I would appreciate virtual dvices also! My usecase is I wanted to have a “switch” on my F@H-panel with which I want to trigger an a smartplug via automation in HA.

Virtual devices are created with SysAP 2.0 with the API xxxIP_FreeHomexx/swagger/fhapi. I integrated an "Virtual Switching Actuator". After that you can find the switch like a normal switching acuator (e.g. with the serial number 60000399903F - corresponding ch0000 and ch0008) in the FreeHome Site (see the screenshot).

I recorded a "switch on" with the analyzing tool (see screenshot), maybe that helps? virtualswitch integrated

jheling commented 10 months ago

hello, what i need is a dump of the free@home configuration as described in the home page. That will give me some more information about the structure of the virtual free@home devices .

zernima commented 10 months ago

hello, what i need is a dump of the free@home configuration as described in the home page. That will give me some more information about the structure of the virtual free@home devices .

Do you still need a Dump? A Integration of Virtual devices where great und very helpful.

jheling commented 10 months ago

Yes. For me it is not possible to use virtual devices as i have the old system access point 1.0.

KKlausl commented 10 months ago

freeathome_dump_192.168.0.18_2023_08_27_21_02_09.txt

Hopefully this Dump as a Text-File helps. If you need the file in some other format - please tell me, how. I was not able to use ubuntu correctly...

Tho85 commented 10 months ago

Could you try my code at #164, i.e. the code from this branch? I added a small change there that may fix this issue.

KKlausl commented 10 months ago

that´s it - you´re a hero!! thanks, it works perfectly!! I will integrate all new entities and use resp test them... :)))

Tho85 commented 10 months ago

Nice! Looking forward to more feedback from other people here.

zernima commented 10 months ago

Thanks very much. I've also tested it and works great.

Tho85 commented 9 months ago

Fixed via #164