Search found 66 matches

by Toni
Friday 28 April 2017 17:00
Forum: Heating/cooling
Topic: Heatpump/air conditioner as a Domoticz device
Replies: 30
Views: 16972

Re: Heatpump/air conditioner as a Domoticz device

This works quite well, but you have to remember that this is one-way communication, so the A/C device does not give any feedback. I have support for quite a few different models, just see the readme of the library: https://github.com/ToniA/arduino-heatpumpir I have for example built an automation ...
by Toni
Sunday 18 December 2016 15:26
Forum: Heating/cooling
Topic: Heatpump/air conditioner as a Domoticz device
Replies: 30
Views: 16972

Re: Heatpump/air conditioner as a Domoticz device

I'm using this version of ESPEasy on my projects: https://github.com/ToniA/ESPEasy, build it with PlatformIO (http://platformio.org/), as I needed to increase the MQTT message size buffer (Domoticz is VERY verbose). With Arduino IDE you need to manually modify the PubSubClient code... In Domoticz I ...
by Toni
Wednesday 30 November 2016 20:55
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 130474

Re: Testers wanted!

Oh yes, that was it... And I thought a simple reload would be enough.
by Toni
Wednesday 30 November 2016 17:24
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 130474

Re: Testers wanted!

Yes, there is a delay between tries.

But speaking of MyDomoticz, I just upgraded to V3.5995, and it connects to the Proxy. But I don't see anything in https://my.domoticz.com/mydomoticz/dashboard, and also the 'Proxy' tab is missing from Domoticz.
by Toni
Sunday 27 November 2016 10:00
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 130474

Re: Testers wanted!

The proxy seems to be down at the moment, but I guess your fix works, as if I pull the network cable, it still does not stop trying. I.e. I get 'Error: PROXY: Error resolving domoproxy.domoticz.com: The requested name is valid, but no data of the requested type was found' multiple times into the log.
by Toni
Friday 25 November 2016 13:20
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 130474

Re: Testers wanted!

I'll try to get this done over the weekend.
by Toni
Friday 25 November 2016 11:13
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 130474

Re: Testers wanted!

Ouch, sorry if I caused that... It should probably have some retry delay. Anyway, without my patch all you need is to disconnect the network for a short while -> MyDomoticz connection never comes back. It's very easy to reproduce this for example with the Windows version, just by placing a ...
by Toni
Friday 25 November 2016 8:23
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 130474

Re: Testers wanted!

Probably this is a network or DNS configuration issue on your end. That StartThread() is not rescheduled is on purpose. We don't want to reconnect if there´s no network to avoid error messages every 15 seconds. No, this had to be fixed (and was fixed by that pull request). Without this, any short ...
by Toni
Friday 18 November 2016 10:15
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Connecting to Domoticz behind non public IP - More than one
Replies: 15
Views: 11171

Re: Connecting to Domoticz behind non public IP - More than one

Yes, I understand your point. Actually I'm just developing a remote-controlled heating system for a holiday cottage (the point is to be able to switch between maintenance heating (~ +10 C) and normal heating remotely, and to control both electric radiators and the air-to-air heatpump). Solutions ...
by Toni
Monday 14 November 2016 14:20
Forum: ESP8266
Topic: How to get domoticz data from ESP8266??
Replies: 19
Views: 9760

Re: How to get domoticz data from ESP8266??

Yes, I'm not blaming you, but the Arduino software... The worst thing is that it's not that easy to fix it nicely if you are using the Arduino IDE. Platformio (see http://platformio.org/) has global defines, though, and is compatible with Arduino IDE projects. ESP8266 has enough RAM to not be ...
by Toni
Monday 14 November 2016 13:13
Forum: ESP8266
Topic: How to get domoticz data from ESP8266??
Replies: 19
Views: 9760

Re: How to get domoticz data from ESP8266??

Domoticz MQTT & ESPEasy has one issue, though... The max. MQTT message size ESPEasy will handle by default is 128 bytes, and Domoticz is VERY verbose: https://github.com/knolleary/pubsubclient/blob/master/src/PubSubClient.h#L26 https://github.com/ESP8266nu/ESPEasy/blob/master/Controller.ino#L49 The ...
by Toni
Sunday 13 November 2016 11:15
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 130474

Re: Testers wanted!

Domoticz instance goes offline in the MyDomoticz portal, and does not come back before Domoticz is restarted. In the logs I have: 2016-11-13 07:16:30.112 Error: PROXY: timeout occurred, reconnecting 2016-11-13 07:16:45.115 Error: PROXY: StartThread(): Exception: resolve: Host not found (non ...
by Toni
Sunday 26 June 2016 11:02
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 33917

Re: Domoticz - air conditioning control

Just run the HeatpumpIR example sketch on your MySensors node: https://github.com/mysensors/Arduino/tr ... Controller
by Toni
Wednesday 24 February 2016 21:50
Forum: LUA
Topic: Some LUA magic: one script to rule them all..
Replies: 38
Views: 8739

Re: Some LUA magic: one script to rule them all..

I added the 'otherdevices_idx[]' a while ago, as some of the commands absolutely require the IDX, and there was no way to get it in Lua. Like, updating the state of a multiselector device so that it also fires a new event on the selector: commandArray['OpenURL'] = 'http://127.0.0.1:8080/json.htm ...
by Toni
Saturday 13 February 2016 13:25
Forum: LUA
Topic: Differences in Lua commandArray 'UpdateDevice' and OpenURL 'udevice'
Replies: 2
Views: 1631

Re: Differences in Lua commandArray 'UpdateDevice' and OpenURL 'udevice'

It's not that simple. What I want to update in my event script is a set of multiselectors, and I want the multiselector event to fire when the multiselector value is updated through the event script. So I need to use the "commandArray['UpdateDevice'] = idx|nValue|sValue" format, instead of the ...
by Toni
Saturday 13 February 2016 10:41
Forum: LUA
Topic: Differences in Lua commandArray 'UpdateDevice' and OpenURL 'udevice'
Replies: 2
Views: 1631

Differences in Lua commandArray 'UpdateDevice' and OpenURL 'udevice'

I'm writing some event code based on virtual switches. Now I'm wondering about an inconsistency about the firing of subsequent events. I.e. my event script should cause device updates which fire other events. So, if my Lua event script updates the status of an another device, I can do it in two ways ...
by Toni
Thursday 11 February 2016 19:19
Forum: Heating/cooling
Topic: Domoticz - air conditioning control
Replies: 47
Views: 33917

Re: Domoticz - air conditioning control

As of the latest beta (V2.4547, published today), there's a new Lua table called 'otherdevices_idx'. This makes the background script way more beautiful, I don't need to hardcode device idx values any more. This is my current backend script to turn the dummy device widgets into a single command ...
by Toni
Thursday 11 February 2016 17:37
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: How to control Domoticz over 3G?
Replies: 25
Views: 19710

Re: How to control Domoticz over 3G?

And now when I have actually tried weaved.com, I can only recommend it. Given that you trust a cloud provider... You really only need to register to weaved.com, and install & configure the weaved software on Raspberry. After that you can access your Domoticz easily through the weaved.com portal ...