No, sqlite is never needed to do dzvents actions.
You probably need an Domoticz json API param=graph call to get the history data https://wiki.domoticz.com/Domoticz_API/ ... 7s#History
From that data you can calculate the trend with dzvents/lua. There will probably be Lua functions for that.
Search found 5160 matches
- Wednesday 29 January 2025 8:09
- Forum: General Discussion
- Topic: tendances value in the dzvent script
- Replies: 6
- Views: 111
- Tuesday 28 January 2025 23:33
- Forum: General Discussion
- Topic: tendances value in the dzvent script
- Replies: 6
- Views: 111
Re: tendances value in the dzvent script
I believe it is calculated by the highcharts graph module on the webgui part. So not available in dzvents.
You could ofcourse have dzvents calculate a trend based on the values in the database.
You could ofcourse have dzvents calculate a trend based on the values in the database.
- Tuesday 28 January 2025 19:24
- Forum: Bugs and Problems
- Topic: DzVents Script reports sometimes a wrong value
- Replies: 19
- Views: 268
Re: DzVents Script reports sometimes a wrong value
And there is only 1 device named Batterie_SOC?
- Tuesday 28 January 2025 1:07
- Forum: dzVents
- Topic: Practical way to script COP calculation?
- Replies: 6
- Views: 911
Re: Practical way to script COP calculation?
When airco is off measure energy usage of airco? Trigger is only on airco device not on time. So monthly COP calculation will most likely be shipped. Or you send data at least every minute to the airco device..... The estimated heat transfer calculations as base for the COP seems to be a joke, at ...
- Monday 27 January 2025 19:54
- Forum: Third party and supplementary tools
- Topic: best way to input number 1..24 with Dashticz?
- Replies: 10
- Views: 855
Re: best way to input number 1..24 with Dashticz?
Indeed as expected... Why not use a setpoint device as I proposed here earlier? Then also in a normal Domoticz Gui this will work.
https://wiki.domoticz.com/Dummy_for_vir ... t_Setpoint
https://wiki.domoticz.com/Dummy_for_vir ... t_Setpoint
- Monday 27 January 2025 19:47
- Forum: Python
- Topic: Python Plugin: GoodWe solar inverter via SEMS API
- Replies: 252
- Views: 48016
Re: Python Plugin: GoodWe solar inverter via SEMS API
Disable the info logging for an hardware gateway (like a python plugin) is done in the hardware gateway settings. There are 3 setting switches available for showing info, status and/or error logging per gateway.
- Monday 27 January 2025 19:43
- Forum: Python
- Topic: Another "requests" not found
- Replies: 7
- Views: 137
Re: Another "requests" not found
If you are new to scripting please dig into Dzvents...
Curl is done with openURL() and asynchronous so it will not interfere with other threads.
Curl is done with openURL() and asynchronous so it will not interfere with other threads.
- Monday 27 January 2025 19:40
- Forum: 433 & 868 transceiver
- Topic: KAKU ACC-250-LD steps too big
- Replies: 2
- Views: 2345
Re: KAKU ACC-250-LD steps too big
How do you control your KAKU devices? What Domoticz Hardware gateway is used?
If your KAKU devices are zigbee devices you could consider to get rid of the KAKU bridge and use an open source Zigbee gateway.
If your KAKU devices are zigbee devices you could consider to get rid of the KAKU bridge and use an open source Zigbee gateway.
- Monday 27 January 2025 9:57
- Forum: Third party and supplementary tools
- Topic: best way to input number 1..24 with Dashticz?
- Replies: 10
- Views: 855
Re: best way to input number 1..24 with Dashticz?
Is a Dial in Dashticz not a rotating knob for Dimmers and Thermostats/Setpoints? Setting a Domoticz dummy Setpoint device to min 1 and max 24, step 1, UOM hours should give you a rotating knob in Dashticz with 1-24 (and do not use subtype "updown" in Dasticz block). https://dashticz.readthedocs.io ...
- Monday 27 January 2025 9:32
- Forum: Other questions and discussions
- Topic: How to setup an hourmeter ?
- Replies: 3
- Views: 128
Re: How to setup an hourmeter ?
Setup a dummy incremental counter, change the parameters as desired and run a script, both are discussed in the following topic
viewtopic.php?t=27776
viewtopic.php?t=27776
- Monday 27 January 2025 9:20
- Forum: Third party and supplementary tools
- Topic: best way to input number 1..24 with Dashticz?
- Replies: 10
- Views: 855
Re: best way to input number 1..24 with Dashticz?
In Domoticz the setpoint (thermostat) device is now configurable in min/max, step size and Unit of Measure.
- Monday 27 January 2025 9:10
- Forum: Python
- Topic: Another "requests" not found
- Replies: 7
- Views: 137
Re: Another "requests" not found
With Dzvents you can use idx too, instead of domoticz.devices('My Device') use domoticz.devices(123) I would not recommend python for event scripting. The community for Dzvents in Domoticz is way bigger. Dzvents is not that hard. Just try the examples on the forum and read the extended wiki: https ...
- Monday 27 January 2025 9:04
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Fresh install Domoticz
- Replies: 6
- Views: 232
Re: Fresh install Domoticz
If you plan to use other MQTT hardware gateways then you can use Zigbee2MQTT with Domoticz MQTT AD gateway. It is the most used Zigbee gateway. If you do not need or want an extra MQTT layer you can use the Zigbee4Domoticz Python plugin. But I see you are also going to use Zwave-JS-UI with MQTT AD ...
- Sunday 26 January 2025 14:20
- Forum: Python
- Topic: Help needed python gardena smartwater websocket (SLL problem)
- Replies: 6
- Views: 154
Re: Help needed python gardena smartwater websocket (SLL problem)
This is an Husqvarna mowers plugin but Gardena seems to use something similar. viewtopic.php?t=39624
- Sunday 26 January 2025 10:31
- Forum: Bugs and Problems
- Topic: DzVents Script reports sometimes a wrong value
- Replies: 19
- Views: 268
Re: DzVents Script reports sometimes a wrong value
Perhaps use
local BAT =
This to be sure it does not get mixed up with another BAT value.
And you update every 5 minutes from the batterie but sends it to display every minutes.
It could be it is a timing issue as the updates from batterie is just milliseconds after the sending to display.
local BAT =
This to be sure it does not get mixed up with another BAT value.
And you update every 5 minutes from the batterie but sends it to display every minutes.
It could be it is a timing issue as the updates from batterie is just milliseconds after the sending to display.
- Saturday 25 January 2025 16:03
- Forum: Android
- Topic: domoticz app not working after phone reset
- Replies: 7
- Views: 97
Re: domoticz app not working after phone reset
Normally you have to set it in the file
/etc/init.d/domoticz.sh
And restart the Domoticz service.
/etc/init.d/domoticz.sh
And restart the Domoticz service.
- Friday 24 January 2025 21:46
- Forum: Bugs and Problems
- Topic: Thermostat mode and fan modes are incorrectly set as selector switches
- Replies: 7
- Views: 106
Re: Thermostat mode and fan modes are incorrectly set as selector switches
Ah, I see now that the device type is "Thermostat Mode" and "Thermostat Fan Mode". I never heard of this device type. Probably related to the old OpenZwave integration. So Indeed a good option to use these instead of the normal selector switches. I dont know if these easily can be made usable for ...
- Friday 24 January 2025 20:28
- Forum: Bugs and Problems
- Topic: Thermostat mode and fan modes are incorrectly set as selector switches
- Replies: 7
- Views: 106
Re: Thermostat mode and fan modes are incorrectly set as selector switches
For Domoticz it are switches and put into the Switch/lights tab. This is hardcoded and needs major rework to change.
- Friday 24 January 2025 17:47
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 156598
Re: MySensors - Gateway to Domoticz
Try building on the development sources, there the fix has been done: https://www.mysensors.org/download
By the way, the website is online again.....
By the way, the website is online again.....
- Friday 24 January 2025 15:38
- Forum: MySensors
- Topic: MySensors - Gateway to Domoticz
- Replies: 318
- Views: 156598
Re: MySensors - Gateway to Domoticz
Googling will solve the issue: https://github.com/mysensors/MySensors/issues/1431