jjtbsomhorst / eu.jeroensomhorst.domoticz

GNU General Public License v3.0
3 stars 5 forks source link

Weather station data = Thermostat in Homey #7

Closed k4mrat closed 5 years ago

k4mrat commented 5 years ago

Hi! Great app, just what I’ve been looking for after getting a lot of grey hairs with trying to get Domoticz to work over MQTT to Homey.

But, it seems as certain weather data is reported to Homey as simply temp or humidity, while others are reported as Thermostats with the ability to change target temp etc. Is this a God-mode for changing the weather, is it a setting in Domo or a problem with the app/Homey? :)

jjtbsomhorst commented 5 years ago

I tried to add some god mode at first but the gods didn't premit me doing so. The reason for this is that I add the on/off functionality by default to any device I find that should be having this capability. Can you tell me which device you would have expect to have this on/of and which you don't expect? Because domotic devices can be such a chaos it's hard to map the correct capability to the devices.

k4mrat commented 5 years ago

Haha, cranky Gods!! Totally understandable, it’s a bit messy. What I can see right now: I get a Tunex station with WTGR800 sensor as Thermostat. A Xiron also with WTGR800 as a Thermostat. And one that comes in as FineOffset, also WTGR800, that actually kills the Homey app completely with a white screen and I need to reboot the Homey app. One that comes in as Alecto V5 uses a LaCrosseTX3 sensor and that works perfectly as a weather station, not thermostat!

jjtbsomhorst commented 5 years ago

Are you able to send me the json that is found at the following url:

http(s):///json.htm?type=devices&used=true Maybe I can find a way to distinguish if it's supposed to be a thermostat or 'just' the weather.

jjtbsomhorst commented 5 years ago

yes that is what I'm looking for. What you could do is download that file and add it to the comments. (drag and drop into the comment box should work).

k4mrat commented 5 years ago

No access to computer for a while, I’ll try over phone and hope it works! May well just be a txt... Domoticz.json.txt

jjtbsomhorst commented 5 years ago

no problemo

k4mrat commented 5 years ago

Think i've solved the problem. No idea how to work with pull requests and stuff though =D

jjtbsomhorst commented 5 years ago

can i close this then?

k4mrat commented 5 years ago

yeah, think so! Did some changes in the code, you want them?

jjtbsomhorst commented 5 years ago

yeah send me a pull request.

jjtbsomhorst commented 5 years ago

I have merged your changes in the beta branch.