In the script rows
350: # print("processing price ",price," for qtr ",priceQtrNr)
356: # print("new avgprice",hourAvgPrice)
prevent a proper JSON to the dzvents script.
When commented out, the script works flawless!
Thanks!
Search found 35 matches
- Friday 10 October 2025 10:37
- Forum: Utility
- Topic: planning battery charging/discharging with hourly electricity prices (now incl solar)
- Replies: 24
- Views: 4114
- Friday 10 October 2025 0:52
- Forum: Utility
- Topic: planning battery charging/discharging with hourly electricity prices (now incl solar)
- Replies: 24
- Views: 4114
Re: planning battery charging/discharging with hourly electricity prices (now incl solar)
So, thank you so much for your responses; I really appreciate them. The problem is that my provider actually uses 15-minute prices (Tibber).
In the meantime, I've tried (and am still trying) to reverse-engineer your script in Excel to better understand how it works. So far, I've come to the ...
In the meantime, I've tried (and am still trying) to reverse-engineer your script in Excel to better understand how it works. So far, I've come to the ...
- Sunday 05 October 2025 17:57
- Forum: dzVents
- Topic: How to view the output of a persistant data filter function?
- Replies: 2
- Views: 77
How to view the output of a persistant data filter function?
Hello all,
Breaking my head over the following:
I have a persistent data table.
this code:
print('Today item 01 = '..dz.data.TMPTODAY.get(1).data[1]..', '..dz.data.TMPTODAY.get(1).data[2])
print('Today item 48 = '..dz.data.TMPTODAY.get(48).data[1]..','..dz.data.TMPTODAY.get(48).data[2])
print ...
Breaking my head over the following:
I have a persistent data table.
this code:
print('Today item 01 = '..dz.data.TMPTODAY.get(1).data[1]..', '..dz.data.TMPTODAY.get(1).data[2])
print('Today item 48 = '..dz.data.TMPTODAY.get(48).data[1]..','..dz.data.TMPTODAY.get(48).data[2])
print ...
- Friday 03 October 2025 10:30
- Forum: Utility
- Topic: planning battery charging/discharging with hourly electricity prices (now incl solar)
- Replies: 24
- Views: 4114
Re: planning battery charging/discharging with hourly electricity prices (now incl solar)
Hi WillemD,
Fair enough and fully understandable, still hoping of course. The second part of my energy control heavly depends on your script. I dynamically 'split' my battary capacity in a Consume and Trade part were the last one is only charged at the lowest prices or with exess solarpower. The ...
Fair enough and fully understandable, still hoping of course. The second part of my energy control heavly depends on your script. I dynamically 'split' my battary capacity in a Consume and Trade part were the last one is only charged at the lowest prices or with exess solarpower. The ...
- Thursday 02 October 2025 18:53
- Forum: Utility
- Topic: planning battery charging/discharging with hourly electricity prices (now incl solar)
- Replies: 24
- Views: 4114
Re: planning battery charging/discharging with hourly electricity prices (now incl solar)
So the script stopped working because Entsoe switched to a 15min resolution. I lack the knowledge to change the script so I'm hoping somebody is able to change it?
- Sunday 21 September 2025 17:17
- Forum: Utility
- Topic: planning battery charging/discharging with hourly electricity prices (now incl solar)
- Replies: 24
- Views: 4114
Re: planning battery charging/discharging with hourly electricity prices (now incl solar)
OK, so for the last 2 years the script worked pretty good and it still does! Many thanks for that!
However, in October Tibber (and I assume ENTSOE as source as well) will move to a quarterly setup. Is it possible to:
1) change the script so it can update prices per quarter instead of per hour?
2 ...
However, in October Tibber (and I assume ENTSOE as source as well) will move to a quarterly setup. Is it possible to:
1) change the script so it can update prices per quarter instead of per hour?
2 ...
- Wednesday 18 September 2024 16:03
- Forum: Heating/cooling
- Topic: Nest thermostat
- Replies: 4
- Views: 2260
Re: Nest thermostat
OK, so that didn't work, but it set me onto the right track.
Long story short: if I use my W11 worklaptop to gather Token and Cookie, then after an roughly an hour it doesn't work anymore. Sidenote, yes I did clear cache, logged out of all Google account related devices, etc.
However, if I use my ...
Long story short: if I use my W11 worklaptop to gather Token and Cookie, then after an roughly an hour it doesn't work anymore. Sidenote, yes I did clear cache, logged out of all Google account related devices, etc.
However, if I use my ...
- Tuesday 17 September 2024 9:34
- Forum: Heating/cooling
- Topic: Nest thermostat
- Replies: 4
- Views: 2260
Re: Nest thermostat
Hi Tom,
You've got me triggered: I am using this plugin for ages (previously the one from Roland Breedveld) and only checked the version number (2.3.0). But apparently some minor changes have been made. So after a full blown update of Linux, I recopied the files (removed the complete folder first ...
You've got me triggered: I am using this plugin for ages (previously the one from Roland Breedveld) and only checked the version number (2.3.0). But apparently some minor changes have been made. So after a full blown update of Linux, I recopied the files (removed the complete folder first ...
- Monday 16 September 2024 13:57
- Forum: Heating/cooling
- Topic: Nest thermostat
- Replies: 4
- Views: 2260
Nest thermostat
Hello everybody,
since a couple of months the Nest plugin (FilipDem) seems to behave differently. In the past I would only have to change Token and Cookie perhaps once or twice a year. At the moment it will only be 'remembered' less then an hour. I already logged out of anything Google Home or Nest ...
since a couple of months the Nest plugin (FilipDem) seems to behave differently. In the past I would only have to change Token and Cookie perhaps once or twice a year. At the moment it will only be 'remembered' less then an hour. I already logged out of anything Google Home or Nest ...
- Thursday 31 August 2023 8:54
- Forum: Utility
- Topic: planning battery charging/discharging with hourly electricity prices (now incl solar)
- Replies: 24
- Views: 4114
Re: planning battery charging/discharging with hourly electricity prices (now incl solar)
1) somehow it started working. I'm not quite sure why but suspect one of the reboots I did, made it start. Anyway, it works and that is enough for me.
2 & 3) that explains indeed a lot! I assumed (yeah, I know) that south=0 automatically meant north=180. That is the case but that doesn't mean east ...
2 & 3) that explains indeed a lot! I assumed (yeah, I know) that south=0 automatically meant north=180. That is the case but that doesn't mean east ...
- Friday 25 August 2023 10:32
- Forum: Utility
- Topic: planning battery charging/discharging with hourly electricity prices (now incl solar)
- Replies: 24
- Views: 4114
Re: planning battery charging/discharging with hourly electricity prices (now incl solar)
Hi, I really like your script but there are some things I can't get working:
1) the hourly action gives the following error: Planning output not as expected, no JSON received. I can read (sort of) scripts, but I can't figure out why this JSON isn't published/readable. The TXT is updated, but because ...
1) the hourly action gives the following error: Planning output not as expected, no JSON received. I can read (sort of) scripts, but I can't figure out why this JSON isn't published/readable. The TXT is updated, but because ...
- Wednesday 22 March 2023 12:43
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1117
- Views: 231053
Re: Python plugin: Presence detection from wireless router
sudo apt update
sudo apt upgrade
cd /home/pi/domoticz/plugins
git clone https://github.com/d-EScape/Domoticz_iDetect.git iDetect
restart domoticz, added hardware iDetect and configured it: errors as expected
sudo apt install python3-pip
restart domoticz, errors as expected
sudo apt install python3 ...
sudo apt upgrade
cd /home/pi/domoticz/plugins
git clone https://github.com/d-EScape/Domoticz_iDetect.git iDetect
restart domoticz, added hardware iDetect and configured it: errors as expected
sudo apt install python3-pip
restart domoticz, errors as expected
sudo apt install python3 ...
- Wednesday 22 March 2023 12:18
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1117
- Views: 231053
Re: Python plugin: Presence detection from wireless router
Will do a rollback to a clean basic Domoticz system, make sure to update Ubuntu and try to reinstall iDetect with given suggestions. I'll post the proper install sequence ones I have a working iDetect again.
Thank for your help so fare!
Much appreciated!
Thank for your help so fare!
Much appreciated!
- Wednesday 22 March 2023 12:08
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1117
- Views: 231053
Re: Python plugin: Presence detection from wireless router
python3-cryptography was already installed, but python3-paramiko wasn't. installed it, rebooted system, no luck.
Btw using Ubuntu 20.04.6 TLS
purged pip, paramiko, cryptography (random order)
installed pip -> sudo apt install pyhon3-pip
installed cryptography -> sudo apt install pyhon3 ...
Btw using Ubuntu 20.04.6 TLS
purged pip, paramiko, cryptography (random order)
installed pip -> sudo apt install pyhon3-pip
installed cryptography -> sudo apt install pyhon3 ...
- Wednesday 22 March 2023 11:37
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1117
- Views: 231053
Re: Python plugin: Presence detection from wireless router
Hi EscApe,
I think you're right! Tried to reinstall python3-pip -> no updates as in was intalled correctly
Tried do reinstall requests paramiko -> lots of errors, package won't install.....
remon@ourea-v2:~$ sudo pip3 install requests paramiko
Traceback (most recent call last):
File "/usr/bin ...
I think you're right! Tried to reinstall python3-pip -> no updates as in was intalled correctly
Tried do reinstall requests paramiko -> lots of errors, package won't install.....
remon@ourea-v2:~$ sudo pip3 install requests paramiko
Traceback (most recent call last):
File "/usr/bin ...
- Wednesday 22 March 2023 11:10
- Forum: Python
- Topic: Python plugin: Presence detection from wireless router
- Replies: 1117
- Views: 231053
Re: Python plugin: Presence detection from wireless router
Hello EscApe,
I did a fresh install of Domoticz (2023.1) and am trying to get iDetect to work. No luck so far, it keeps giving errors:
2023-03-22 11:03:00.863 Status: iDetect: Started.
2023-03-22 11:03:00.864 Status: iDetect: Entering work loop.
2023-03-22 11:03:00.981 Status: iDetect: Initialized ...
I did a fresh install of Domoticz (2023.1) and am trying to get iDetect to work. No luck so far, it keeps giving errors:
2023-03-22 11:03:00.863 Status: iDetect: Started.
2023-03-22 11:03:00.864 Status: iDetect: Entering work loop.
2023-03-22 11:03:00.981 Status: iDetect: Initialized ...
- Wednesday 03 November 2021 15:10
- Forum: Design, usability and languages
- Topic: Icons
- Replies: 0
- Views: 3817
Icons
Recently, I've been getting more and more requests to re-share my Gdrive folder with some icons I've created. Had something to do with security changes, but it made me realize the icons are apparently still in demand. Since 2017 (Original post: https://www.domoticz.com/forum/viewtopic.php?f=8&t ...
- Monday 19 April 2021 16:51
- Forum: Bugs
- Topic: Timer between time/day and time day doesn't work
- Replies: 4
- Views: 3201
Re: Timer between time/day and time day doesn't work
Changed some parameters and I am now testing with 'at 7:30-0:29 on mon' which is working.
Question: does DzVents know that if the stop time is smaller then the start time, the stop day should be the next day and not the same as the starting day?
In other words: is 'at 7:30-0:29 on mon' the same as ...
Question: does DzVents know that if the stop time is smaller then the start time, the stop day should be the next day and not the same as the starting day?
In other words: is 'at 7:30-0:29 on mon' the same as ...
- Monday 19 April 2021 16:33
- Forum: Bugs
- Topic: Timer between time/day and time day doesn't work
- Replies: 4
- Views: 3201
Re: Timer between time/day and time day doesn't work
Yes, that works.
Problem with that solution (I understand it is part of the troubleshooting) is that the second date/time could be after midnight. E.g: between 7:30 on mon and 0:30 on tue. And I don't know how to make that work with 'at'.
Tried at 7:30 on mon and 23:29 on mon -> not working ...
Problem with that solution (I understand it is part of the troubleshooting) is that the second date/time could be after midnight. E.g: between 7:30 on mon and 0:30 on tue. And I don't know how to make that work with 'at'.
Tried at 7:30 on mon and 23:29 on mon -> not working ...
- Monday 19 April 2021 15:40
- Forum: Bugs
- Topic: Timer between time/day and time day doesn't work
- Replies: 4
- Views: 3201
Timer between time/day and time day doesn't work
Version: 2021.1 (build 13203)
Build Hash: ab7a7bba3
Compile Date: 2021-04-19 12:38:14
dzVents Version: 3.1.7
Python Version: 3.8.5 (default, Jan 27 2021, 15:41:15) [GCC 9.3.0]
Hello all,
since the latest stable update (2021.1) the dz.time.matchesRule doesn't seem to work:
The code
dz.time ...
Build Hash: ab7a7bba3
Compile Date: 2021-04-19 12:38:14
dzVents Version: 3.1.7
Python Version: 3.8.5 (default, Jan 27 2021, 15:41:15) [GCC 9.3.0]
Hello all,
since the latest stable update (2021.1) the dz.time.matchesRule doesn't seem to work:
The code
dz.time ...