CyberDNS / Lupusec2Mqtt

Lupusec Alarm System to Mqtt
MIT License
11 stars 5 forks source link

Thermostates #33

Open christophgasser opened 1 year ago

christophgasser commented 1 year ago

Hi,

is it possibel to add thermostates? I am a developer myself but never worked with Pyton, etc. and don't want to screw up the repository.

What I know is, that you can read the current temp. value from thermostates the same way as from any other temp. sensor. And you can set the target temp. using this api call: /action/deviceeditthermopost?id={id}&act=t_setpoint&thermo_setpoint={value} whereby you have to multiply the value by 1.000 (18° = 1800).

Thermostat sensors have TypeId 79 as far as I know.

I am more than happy to assist or to the dev work with a "little help from a friend".

CyberDNS commented 1 year ago

Hi,

Yes I think it should be possible to add thermostats. The code is written in C#, you can fork the repository and then commit to the dev branch. It is not really possible te mess something up. It would be good if you could already try to get the information from the thermostats and try to set for example the temperature. This would help a lot in integrating the functionality as I don't have personally thermostats connected to the Lupusec. I can help in integrating the calls into the code base in the end.

Best regards, David

CyberDNS commented 1 year ago

Issue is stale, will be closed.

mbay0r commented 1 year ago

hi, as i have Thermostats, are you still interessted in adding them? i could try give you the informations.

thanks

CyberDNS commented 1 year ago

Hi, Yes no problem. So if you can provide me the necessary information, I will add them too.

Best regards, David

mbay0r commented 1 year ago

i think, i have no time right now. should we leave it open that long, or close it first?

CyberDNS commented 1 year ago

Hi, no problem, we can leave it open.