jheling / freeathome

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

wireless thermostat are missing in HA #56

Closed Zyro16 closed 3 years ago

Zyro16 commented 4 years ago

Hello,

I installed the awesome tool and also got the Scenes and Lights from the Busch Jaeger System. But I miss the wireless thermostat.

I have changed the temperature and I have already turned a thermostat off and on again. Unfortunately it is not displayed as an entity.

Is it necessary to add them manually in the config? If so, how?

Thank you very much for your great work!

Best regards, Daniel

jheling commented 4 years ago

Hello Daniel, This is probably one of the devices that is not supported yet. I don't have any thermostat devices so I need input from other users to get this device working.

Zyro16 commented 4 years ago

Okay, and how can I help? :) What do you need?

dbrouwer1979 commented 4 years ago

Hi Daniel, I have the wireless thermostats working. I will sent you the added line later tonight

dbrouwer1979 commented 4 years ago

I have the following lines in pfreeathome.py (lines 931 to 933):

thermostat

            if device_id == '1004' or device_id == '9004' or device_id == '2041':
                self.add_thermostat(neighbor, serialnumber, roomnames)

Device id 2041 is the wireless thermostat.

Let me know if it works for you!

Zyro16 commented 4 years ago

Hi dbrouwer1979,

thank you very much! But it's not working. HA says, that the config is not valid.

Here is my config. Can you find the failure?

Bildschirmfoto 2020-05-08 um 07 13 49

Thank you, kind regards!

Daniel

dbrouwer1979 commented 4 years ago

I do not see an error. Do you have the wireless room thermostats or the wireless radiator thermostats?

Zyro16 commented 4 years ago

I have the wireless radiator thermostats. Model: 6256/2-WL

The Thermostat is not available as an entity or something else.

dbrouwer1979 commented 4 years ago

I gave you the device id for the room thermostats. The device id for the radiator thermostats is 2043. But I must say, these devices are not supported (yet). I have my radiator thermostats linked to a wireless room thermostat so therefore I don't need the radiator thermostats in HA.

Zyro16 commented 4 years ago

Thank you very much! I don´t have any wireless room thermostat, so this solution will not work for me. Hope the device will supported at the feature :)

dbrouwer1979 commented 4 years ago

I am wondering how your radiator thermostats communicate with your heater, can you contact me on my google mail? dbrouwer1979

Zyro16 commented 4 years ago

sorry for my late reply... you've got mail Many thanks in advance for your efforts!

Zyro16 commented 4 years ago

Now I see the thermostat! Many Thanks to dbrouwer1979 for your help!!! I added the lines here and added the device_id 2043

image

But the service is not available. I got no data from the thermostat. @jheling Can you please try to integrate the thermostats?

dbrouwer1979 commented 3 years ago

@jheling I have included the WL room thermostats by adding device_id == 2041 to pfreeathome.py I noticed that these Wireless thermostats do not respond to actions in HA (turning off/on, etc, does not work) I know you don't have any thermostats, but what would you need from my end to get these thermostats integrated in the component?

Regard, Daniel

jheling commented 3 years ago

This component will probably use other datapoints than the current thermostat. User Nadir made a FahThermostatDisp where you can see that it also uses other datapoints. You should use get-master-message.py to intercept the messages from the sysapp when you an action on the thermostat with the official FAH app. The actions should be:

The thermostat will also send out status message like the current room temperature. These contain output datapoints like 'odp0006'. The following datapoints are processed in update_thermostat:

jheling commented 3 years ago

@Zyro16 with the changes Tho85 made to the thermostat component I assume your wireless thermostats are now visible and working. Can I close this issue?

Zyro16 commented 3 years ago

Yes, thank you! Now it works perfect!!! Great job