yes i had already executed it via a command line. i called this a terminal in my post. The scripts are provided with extensive log options. When executing the script in a command line i get all ok messages that i expect and the script does what it should do. If i do it via ...
I hope I'm asking this question in the right place.
I have a problem with starting a script from dzvents. The script won't start no matter what I've done so far, even consulting ai hasn't provided a solution. (I end up in a cricel of solutions). This is my latest version of the script.
I have continued to improve my script from my Jan 4, 2024 post. A number of changes and improvements made include: - the time period of the warning is now also visible - the script runs in an infinite loop and does not need to be started periodically - A KNMI file is only downloaded if a new file is ...
First, I see from your screenshot that you used a text device to pass on the warnings. The script assumes that a "general Alert" device has been created. You will then also see a colored triangle, green, yellow, orange or red respectively ...
After a lot of fiddling around how to read an XML file (I had no knowledge of it at all), I managed to read and parse the data from the weather warning file. The problem was to only extract the data that was relevant for a province and not the data for the entire ...
In my previous post I showed a script that downloads a text file from the KNMI data platform with the latest weather warning. After some searching I discovered that this text was extracted from the xml file from the same dataset. I can also do what ...
Still found some time to get started with the code that Chat gpt provided. As is often the case, it is of no use to you, but it does put you on the track. :D
Found an example on the site https://developer.dataplatform.knmi.nl/open-data-api# that retrieves the last file of the warning dataset. This ...
Inspired by the block script from FireWizard I made a script in dzvents to bring the weather alarm from the KNMI to domoticz
You can request the local weather from KNMI via an API, see https://weerlive.nl/delen.php All data is very usable and on this forum you can find scripts that process the ...
To manage the log files that are created I have created a logrotate file. The purpose of this is to archive the log fole solis.log daily and keep it for a maximum of 7 days. For the file solis.crontab.log this is monthly with a month retention
To make the logrotate work you can do the following ...
Solis has decided to discontinue the m.ginlong.com site. I always used this site to retrieve my data for domoticz via an API. Now that this site is going to disappear, I had to look for another method to retrieve my desired data. Solis has started a new site called soliscloud. You can also retrieve ...
Reading my post the following thought came to mind; maybe the problem can be avoided by not executing the whole script between sunset and sunrise by adjusting the trigger with:
timer = {'every 5 minutes between sunrise and sunset'},
If this prevents the problem, then we know a little more where to ...
I've been playing around with electricity for a while.
Basically it does what I want. Only the daily yield is a problem. The data that I collect once every 5 min only contains the daily yield (besides a lot more info) and not the total yield. Now, of course, I can ...
I use a managed counter because it can be adjusted to your own liking. I'll give the Electricity one a try. The problem is that the div wiki of domoticz give different explanations
I am busy reading the data from my solis inverter and saving it in Domoticz. I use a script in dzventz for this. I'm so far that I can read that correctly, only processing in a managed counter does not give the desired result. Even after several searches on the internet I have not come up with a ...