I named a variable 'module' which is maybe a reserved word.
I renamed this variable and moved urlEncode on the device name only => all is working...
Search found 29 matches
- Tuesday 08 August 2023 23:16
- Forum: dzVents
- Topic: dzvents and json [solved]
- Replies: 7
- Views: 774
- Tuesday 08 August 2023 19:28
- Forum: dzVents
- Topic: dzvents and json [solved]
- Replies: 7
- Views: 774
Re: dzvents and json
Unfortunately, if I replace the sensor name by 'Test' I still have the error
- Tuesday 08 August 2023 19:22
- Forum: dzVents
- Topic: dzvents and json [solved]
- Replies: 7
- Views: 774
Re: dzvents and json
Dz.utils.urlEncode
But thé problem is not there.
If I copy a non encode URL in the browser, it create the device
But thé problem is not there.
If I copy a non encode URL in the browser, it create the device
- Tuesday 08 August 2023 18:13
- Forum: dzVents
- Topic: dzvents and json [solved]
- Replies: 7
- Views: 774
dzvents and json [solved]
Hi How can I construct the url to create a device with the API/json This one http://127.0.0.1:8080/json.htm?type=command¶m=createvirtualsensor&idx=13&sensorname=Blagnac (Indoor)-Extérieur&sensortype=82 generate the error below 2023-08-08 18:06:07.772 Error: Error parsing http request address: ...
- Friday 04 August 2023 4:54
- Forum: Temperature and Weather
- Topic: Netatmo authentication changes Oct 2022
- Replies: 180
- Views: 27635
Re: Netatmo authentication changes Oct 2022
If a dev knows how to change the code, I can test it with my Netatmo account.
- Thursday 03 August 2023 18:26
- Forum: Suggestions
- Topic: Publish older version of domoticz on github
- Replies: 3
- Views: 472
Re: Publish older version of domoticz on github
Thanks a lot
- Thursday 03 August 2023 15:56
- Forum: Suggestions
- Topic: Publish older version of domoticz on github
- Replies: 3
- Views: 472
Publish older version of domoticz on github
Hi
I have a lot of troubles with the version 2023.2.
Unfortunately, I lost the saving I did of the previous version.
Is it possible to store the previous version on github or somewhere else?
In the mean time is someone can send me the version 2023.1 file?
I have a lot of troubles with the version 2023.2.
Unfortunately, I lost the saving I did of the previous version.
Is it possible to store the previous version on github or somewhere else?
In the mean time is someone can send me the version 2023.1 file?
- Monday 06 March 2023 19:19
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: 2023.1 timer problems
- Replies: 12
- Views: 3124
Re: 2023.1 timer problems
Hi As far as I know, there is a big change on the management of the timers. Now there are 2 tabs "Table" and "Grid". You should report a bug on github: https://github.com/domoticz/domoticz/issues and use the development version until the new "stable" version will be published. I have no problem to ...
- Thursday 19 January 2023 15:36
- Forum: Cameras
- Topic: List of working Wifi Camera's, or tips
- Replies: 11
- Views: 2971
Re: List of working Wifi Camera's, or tips
If it can help someone, here below how I linked my camera to Domoticz: My camera was not compliant with domoticz so I installed the AgentDVR application from iSpy on my raspberry. It provide me with a snapshot (grab.jpg?oid=1&size=720x480), whatever the camera is, which is accepted by domoticz. The ...
- Tuesday 15 February 2022 17:39
- Forum: Design, usability and languages
- Topic: I can't see "apply" button
- Replies: 1
- Views: 1446
Re: I can't see "apply" button
Hi
The language can be changed in Configuration/Parametres menu (Top right).
The language can be changed in Configuration/Parametres menu (Top right).
- Tuesday 15 February 2022 10:16
- Forum: Switches and Scenes
- Topic: Blind state not shown correctly
- Replies: 0
- Views: 423
Blind state not shown correctly
Hi all
When my blind is open, the blind state is shown as "Ouvert" on the web interface and when it is closed the state is "On".
Is someone knows how to change it to "Fermé"?
When my blind is open, the blind state is shown as "Ouvert" on the web interface and when it is closed the state is "On".
Is someone knows how to change it to "Fermé"?
- Tuesday 11 May 2021 11:38
- Forum: dzVents
- Topic: Problem with timer since 2021.1 update [Solved]
- Replies: 4
- Views: 819
Re: Problem with timer since 2021.1 update [Solved]
It's important that the cleartimer is executed first.
This is the reason why I added a callBack which seems working fine.
Thank you
This is the reason why I added a callBack which seems working fine.
Thank you
- Tuesday 11 May 2021 9:52
- Forum: dzVents
- Topic: Problem with timer since 2021.1 update [Solved]
- Replies: 4
- Views: 819
Re: Problem with timer since 2021.1 update [Solved]
This simple script does not work all the time. domoticz.openURL({url = domoticz.settings['url']..'/json.htm?type=command¶m=cleartimers&idx=001}) domoticz.openURL({url = domoticz.settings['url']..'/json.htm?type=command¶m=addtimer&idx=001&active=true&timertype=3&hour=6&min=0&randomness=false ...
- Saturday 08 May 2021 18:57
- Forum: dzVents
- Topic: Problem with timer since 2021.1 update [Solved]
- Replies: 4
- Views: 819
Problem with timer since 2021.1 update [Solved]
Not sure that it's a dzvents problem... At 00:30, depending on the water temperature I set the timer (API Json) of the switch (enocean) of the pump. The steps are these ones: - Clear the timer - Add timer to start the pump - Add timer to stop the pump Before the last update of Domoticz my script was ...
- Monday 01 June 2020 18:30
- Forum: Bugs
- Topic: How to get UTC time? [SOLVED]
- Replies: 6
- Views: 5102
Re: How to get UTC time? [SOLVED]
I thought that the property gave you the UTC time from the local time. As you know that it is an UTC time I do not understand the aim of this property. Hour, minutes,etc... are already available in the time property hour, minutes, etc It should be a good function to get the UTC time from the local ...
- Monday 01 June 2020 17:26
- Forum: Bugs
- Topic: How to get UTC time? [SOLVED]
- Replies: 6
- Views: 5102
Re: How to get UTC time? [SOLVED]
I knew this way.
Thank you
However I would like to use the dzVents
It seams that the utcTime property of the Time object does not exist.
Is it a bug or not?
Thank you
However I would like to use the dzVents
It seams that the utcTime property of the Time object does not exist.
Is it a bug or not?
- Monday 01 June 2020 15:28
- Forum: Bugs
- Topic: How to get UTC time? [SOLVED]
- Replies: 6
- Views: 5102
How to get UTC time? [SOLVED]
Hi If someone can help me ;) I did this local Time = require('Time') local localTime = Time() print(localTime.utcTime.hour) and I got this 2020-06-01 15:24:01.179 Error: dzVents: Error: (3.0.2) ...e/pi/domoticz/scripts/dzVents/generated_scripts/Test.lua:12: attempt to index a nil value (field ...
- Saturday 16 May 2020 16:35
- Forum: Heating/cooling
- Topic: Setpoint Actual value
- Replies: 3
- Views: 1009
Re: Setpoint Actual value
Hi
I do not have this problem on my stable version 2020.2.
If my setPoint device shows 20°C, when I click on it, the actual value is 20 and I can change the value with the arrows.
I do not have this problem on my stable version 2020.2.
If my setPoint device shows 20°C, when I click on it, the actual value is 20 and I can change the value with the arrows.
- Saturday 16 May 2020 16:22
- Forum: dzVents
- Topic: Function within dzVents script? [Solved]
- Replies: 1
- Views: 1391
Re: Function within dzVents script? [Solved]
For sure :D Have a look to the example below return { ... execute = function(dz, item) local function myFunction(variable) ... do your stuff ... return result1, result2 end local a, b = myFunction(myVariable) ... end } you can call this function from your code like you do with helpers.
- Saturday 16 May 2020 11:15
- Forum: Bugs
- Topic: isSystem event not set to true when occurs [SOLVED]
- Replies: 1
- Views: 4626
isSystem event not set to true when occurs [SOLVED]
Hi, Here below the dump of the item variable when system event occurs 2020-05-16 11:07:17.441 Status: dzVents: Start internal script: Netatmo_Token: Domoticz event: "start" 2020-05-16 11:07:17.442 Status: dzVents: > isGroup: false 2020-05-16 11:07:17.442 Status: dzVents: > isHardware: false 2020-05 ...