Search found 7 matches

by Roeldebest
Tuesday 24 December 2019 16:57
Forum: dzVents
Topic: Updating a device from multiple triggers doesn't work properly [Solved]
Replies: 9
Views: 1250

Re: Updating a device from multiple triggers doesn't work properly [Solved]

So basically long polling (the timeout parameter) is a feature of the Telegram API. If you set if for instance to 50, the API will keep the request open for 50 seconds. In this case two things can happen: A message was sent to the Telegram Bot. The request will be handled and the API will return a ...
by Roeldebest
Monday 23 December 2019 21:12
Forum: dzVents
Topic: Updating a device from multiple triggers doesn't work properly [Solved]
Replies: 9
Views: 1250

Re: Updating a device from multiple triggers doesn't work properly [Solved]

I've increased the logging level. I can see that the HTTP response is immediately handled for the thermostat update when the Telegram Bot script is disabled: 2019-12-23 21:05:00.337 Status: dzVents: Debug: Commands sent to Domoticz: 2019-12-23 21:05:00.337 Status: dzVents: Debug: - OpenURL ...
by Roeldebest
Sunday 22 December 2019 17:20
Forum: dzVents
Topic: Updating a device from multiple triggers doesn't work properly [Solved]
Replies: 9
Views: 1250

Re: Updating a device from multiple triggers doesn't work properly [Solved]

Thanks. That specific script was based on a script I found a while ago on some website to fetch data from this specific device and was before I was aware of the domoticz.openURL method. I have rewritten it to use openURL, but unfortunately the two scripts together still cause the same issue. I see ...
by Roeldebest
Saturday 21 December 2019 13:42
Forum: dzVents
Topic: Updating a device from multiple triggers doesn't work properly [Solved]
Replies: 9
Views: 1250

Re: Updating a device from multiple triggers doesn't work properly [Solved]

Thanks for your reply. I've tried keep the scripts at minimal as possible to show the crucial parts. I have a dummy hardware device (Toon) and a virtual Light/Switch device (Temperatuurprogramma). I have two scripts. This one is to fetch the information from the Toon thermostat and update the ...
by Roeldebest
Saturday 21 December 2019 12:43
Forum: dzVents
Topic: Updating a device from multiple triggers doesn't work properly [Solved]
Replies: 9
Views: 1250

Updating a device from multiple triggers doesn't work properly [Solved]

Hi, I'm facing an issue that I'm not sure how to explain properly, but I'll try to do my best. We have a thermostat that allows us to get the current state via JSON. The current state of the thermostat is fetched every minute and updated in Domoticz. One example is that whenever the thermostat ...
by Roeldebest
Friday 26 July 2019 21:29
Forum: Utility
Topic: Updating dummy electric sensor over JSON shows incorrect data
Replies: 17
Views: 3666

Re: Updating dummy electric sensor over JSON shows incorrect data

Thanks for your quick reply. Quite annoying that the inverter rounds floors it to kW so then I can't get really accurate data, but I will find a way to get around that. :)
by Roeldebest
Friday 26 July 2019 20:37
Forum: Utility
Topic: Updating dummy electric sensor over JSON shows incorrect data
Replies: 17
Views: 3666

Updating dummy electric sensor over JSON shows incorrect data

Hi all, My first post on this forum after happily using Domoticz for quite some time already. :) A couple of months ago we got solar panels installed and I have connected a Raspberry Pi to the inverter to read out the statistics of the current and daily production. So far, so good. From this ...