Search found 26 matches

by mancide
Friday 15 November 2024 18:22
Forum: Bugs and Problems
Topic: schedule NEST thermostat on first monday of the month
Replies: 3
Views: 1126

Re: schedule NEST thermostat on first monday of the month

The timer is on the setpoint device in Domoticz how can this be a bug in the plugin???
2024-11-15 Capture.PNG
2024-11-15 Capture.PNG (115.86 KiB) Viewed 1066 times
I disabled it for now as it is not working correctly
by mancide
Wednesday 06 November 2024 14:42
Forum: Bugs and Problems
Topic: schedule NEST thermostat on first monday of the month
Replies: 3
Views: 1126

schedule NEST thermostat on first monday of the month

Version: 2024.6 Platform: Raspbian GNU/Linux 11 (bullseye) Plugin/Hardware: Domoticz-NEST-plugin/Google NEST thermostat Description: I want to set the temperature for every first monday of the month at 20:00. I go to the tab "utility" I go to my thermostat and click on "timers" On the tab "grid" I ...
by mancide
Wednesday 06 November 2024 9:29
Forum: Bugs and Problems
Topic: automatic backup log messages
Replies: 1
Views: 694

automatic backup log messages

Version: 2024.6 Platform: Raspbian GNU/Linux 11 (bullseye) Plugin/Hardware: - Description: Is it possible to disable/hide 2024-11-05 15:00:01.074 Status: Starting automatic database backup procedure... 2024-11-05 15:00:06.934 Status: Ending automatic database backup procedure... I still want to have ...
by mancide
Wednesday 18 September 2024 23:27
Forum: Heating/cooling
Topic: Nest thermostat
Replies: 4
Views: 1111

Re: Nest thermostat

well,
incidently I had to renew my cookie also this evening.
I used Chrome on Windows10.
so far it's working...
by mancide
Monday 16 September 2024 18:17
Forum: Heating/cooling
Topic: Nest thermostat
Replies: 4
Views: 1111

Re: Nest thermostat

Hi, I'm using the same plugin on 2 locations each with a Domoticz and NEST setup. As far as I know it still works. As I understand it, you have login manually to your NEST thermostat and then you copy the cookie from that session to your Domoticz setup. Normally the Domoticz will then keep using ...
by mancide
Tuesday 09 April 2024 12:23
Forum: Other questions and discussions
Topic: dummy incremental counter for time
Replies: 1
Views: 291

dummy incremental counter for time

Hi, I'm trying to measure the uptime/runtime of a device. I have found this one: https://www.domoticz.com/forum/viewtopic.php?t=23713 which is close but it still not good enough. The above script has: - a resolution of hours. I would like to keep my seconds resolution. - I use the power updates to ...
by mancide
Monday 18 March 2024 14:35
Forum: Other questions and discussions
Topic: Timers persistent option
Replies: 2
Views: 635

Timers persistent option

Hi,

Can somebody explain to me the exact working of the "persistent" option on Timers.

I'm thinking of using it to set temperature of a thermostat over a certain period.
by mancide
Sunday 03 March 2024 20:40
Forum: Utility
Topic: P1 Smart Meter with LAN interface reading from MQTT?
Replies: 9
Views: 4728

Re: P1 Smart Meter with LAN interface reading from MQTT?

Hi, I have both zwave and zigbee working with the "MQTT auto discovery client gateway". I was trying to get my watermeter to work with MQTT also. I see the values coming appearing in MQTT explorer. I can't figure out how to get the values from MQTT into domoticz. MQTT auto discovery client gateway ...
by mancide
Sunday 24 December 2023 15:34
Forum: dzVents
Topic: Error parsing json to LUA table: (invalid json string)
Replies: 15
Views: 2180

Re: Error parsing json to LUA table: (invalid json string)

I tried this for index, value in pairs(item) do --domoticz.log(string.format('item[%s]=%s', index, value), domoticz.LOG_INFO) if(index=='data') then domoticz.log(string.format('item[%s]=%s', index, value), domoticz.LOG_INFO) item['data'] = string.gsub(item['data'], "\"", "") end end domoticz.log ...
by mancide
Friday 22 December 2023 13:45
Forum: dzVents
Topic: Error parsing json to LUA table: (invalid json string)
Replies: 15
Views: 2180

Re: Error parsing json to LUA table: (invalid json string)

So when the script is triggered by the callback and the only thing you do is the item.isTimer check (which performs as it should) and then print a string to the logfile you get the error? yes I think the problem still lies in the contents of item, exactly as the error message indicates, a string ...
by mancide
Friday 22 December 2023 11:15
Forum: dzVents
Topic: Error parsing json to LUA table: (invalid json string)
Replies: 15
Views: 2180

Re: Error parsing json to LUA table: (invalid json string)

I reduced my script to this: return { on = { timer = { 'every 10 minutes' }, --timer = { 'every 2 minutes' }, httpResponses = { 'webhookcallback', 'callback_gas', 'callback_water' } }, logging = { level = domoticz.LOG_INFO, marker = 'EnergyId webhook', }, execute = function(domoticz, item) if(item ...
by mancide
Monday 18 December 2023 14:17
Forum: dzVents
Topic: Error parsing json to LUA table: (invalid json string)
Replies: 15
Views: 2180

Re: Error parsing json to LUA table: (invalid json string)

yes, at the moment, with this code I still have the problem... execute = function(domoticz, item) domoticz.log('*** start ***', domoticz.LOG_INFO) domoticz.utils.dumpTable(item) if(item.isTimer) then domoticz.log('Triggered by timer', domoticz.LOG_INFO) local key = 'xxxxxxxx-xxxx-xxxx-xxxx ...
by mancide
Friday 15 December 2023 12:15
Forum: dzVents
Topic: Error parsing json to LUA table: (invalid json string)
Replies: 15
Views: 2180

Re: Error parsing json to LUA table: (invalid json string)

Hi, I did a dumpTable(item): 2023-12-15 12:09:01.174 Status: dzVents: Info: EnergyId webhook: ------ Start internal script: EnergyId_Webhook_new: HTTPResponse: "callback_gas" 2023-12-15 12:09:01.208 Status: dzVents: Info: EnergyId webhook: *** start *** 2023-12-15 12:09:01.208 Status: dzVents ...
by mancide
Wednesday 29 November 2023 13:25
Forum: dzVents
Topic: Error parsing json to LUA table: (invalid json string)
Replies: 15
Views: 2180

Re: Error parsing json to LUA table: (invalid json string)

even with this, I get the Error: if(item.ok) then else domoticz.log('There was an error', domoticz.LOG_ERROR) domoticz.log(string.format('%s ==> %s',item.statusCode, item.statusText), domoticz.LOG_ERROR) end
by mancide
Wednesday 29 November 2023 13:18
Forum: dzVents
Topic: Error parsing json to LUA table: (invalid json string)
Replies: 15
Views: 2180

Re: Error parsing json to LUA table: (invalid json string)

this is where I send the data: EnergyIdPush = function(domoticz, device, key, secret, remoteName, metric, unit, callback_ID) local timestamp = os.date("!%Y-%m-%dT%TZ") local value = device.counter local metricKind = "total" local log local datastring log = string.format('updating EnergyId.eu %s ...
by mancide
Wednesday 15 November 2023 14:47
Forum: dzVents
Topic: Error parsing json to LUA table: (invalid json string)
Replies: 15
Views: 2180

Error parsing json to LUA table: (invalid json string)

platform: raspberry pi OS: Raspbian GNU/Linux 11 (bullseye) Domoticz: Version: 2023.2 Build Hash: 19efd03 Compile Date: 2023-07-21 17:23:44 dzVents Version: 3.1.8 Python Version: 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110] Hi, I have a webhook that posts meter readings to a server ...
by mancide
Monday 11 September 2023 11:11
Forum: Other questions and discussions
Topic: test sensor values before storing in database
Replies: 3
Views: 369

Re: test sensor values before storing in database

I don´t think the hardware gateway 'can' solve this problem. It can´t know how I'm using a sensor. For example, I have a RF sensor in my freezer which should never display 30C. Air temp sensors should display 30C. Besides that I have temp sensor coming from an RFXCom and from Z-wave. Different h ...
by mancide
Monday 11 September 2023 10:40
Forum: Other questions and discussions
Topic: test sensor values before storing in database
Replies: 3
Views: 369

test sensor values before storing in database

Hi, Is there way to run a script on a new sensor value before it is stored in the value database? I think it is possible as I once wrote a script that ate all my sensor values... What I want to do: 1. a sensor value comes in. 2. I want to do some checking (eg. the water temp of my fish pond can´t be ...
by mancide
Tuesday 17 January 2023 10:59
Forum: MQTT Auto Discovery
Topic: zwavejsui -> Domoticz issue
Replies: 3
Views: 525

Re: zwavejsui -> Domoticz issue

I removed the comments on 1 print() line in 1 of my events scripts and it started working again :?:

very, very strange... :o :shock:

It's like my event script was eating all device updates before domoticz could do anything with it...
by mancide
Tuesday 17 January 2023 9:52
Forum: MQTT Auto Discovery
Topic: zwavejsui -> Domoticz issue
Replies: 3
Views: 525

Re: zwavejsui -> Domoticz issue

Hi, I tried the save. I see the Fibaro universal binary sensor being discovered. 2023-01-17 09:18:50.237 Status: MQTT auto discovery: discovered: vijver temp box/vijver temp box_any_1 (unique_id: zwave-js-ui_0xf46f2a31_25-48-1-Any) 2023-01-17 09:18:50.340 Status: MQTT auto discovery: discovered ...