I find the problem of this.
If i change the pragma journal mode from Wall to Off there is no error anymore.
Now is my question how can i change this on a command line in linux ???
Search found 14 matches
- Monday 09 January 2023 15:15
- Forum: Third party and supplementary tools
- Topic: Grafana SQLite plugin: Graphs Dashboard without InfluxDB datapush
- Replies: 44
- Views: 15721
- Saturday 07 January 2023 12:49
- Forum: Third party and supplementary tools
- Topic: Grafana SQLite plugin: Graphs Dashboard without InfluxDB datapush
- Replies: 44
- Views: 15721
Re: Grafana SQLite plugin: Graphs Dashboard without InfluxDB datapush
I don,t tink it has to do with permissions. Gif both directory and file full permision.
Looks like the plugin can not handle read only databases
error checking db: error checking for valid SQLite file: attempt to write a readonly database (1544)
Looks like the plugin can not handle read only databases
error checking db: error checking for valid SQLite file: attempt to write a readonly database (1544)
- Friday 06 January 2023 14:57
- Forum: Third party and supplementary tools
- Topic: Grafana SQLite plugin: Graphs Dashboard without InfluxDB datapush
- Replies: 44
- Views: 15721
Re: Grafana SQLite plugin: Graphs Dashboard without InfluxDB datapush
When i put the databse on the root the plugin can find it but when i put it in the tmp dir is does not .
/backup.db all is ok
/tmp/backup.db error checking db: no file exists at the file path
/backup.db all is ok
/tmp/backup.db error checking db: no file exists at the file path
- Friday 09 December 2022 19:33
- Forum: Bash / PowerShell / Batch etc.
- Topic: Backup script Domoticz gives me headaches please help...
- Replies: 7
- Views: 1090
Re: Backup script Domoticz gives me headaches please help...
That might be a solution. My main goal is to have the data available for a longer period of time, preferably in an sql database. I hear you say Influxdb, but that has a number of limitations for me. I would prefer to transfer the data from different sensors and meters every day from the domoticz ...
- Friday 09 December 2022 19:26
- Forum: PHP and all others
- Topic: Pass2PHP
- Replies: 1509
- Views: 797670
Re: Pass2PHP
Read this thread with attention but I wonder if this is what I'm looking for. I would like my domoticz data in a different database than what I do now Influxdb. And then you can keep the date for a longer period of time. I've also looked at the author's sites, but I'm dizzy with the many scripts for ...
- Friday 09 December 2022 13:03
- Forum: Bash / PowerShell / Batch etc.
- Topic: Backup script Domoticz gives me headaches please help...
- Replies: 7
- Views: 1090
Re: Backup script Domoticz gives me headaches please help...
No i do not have a file like that in my backup directory.
But i find the variable $ftpsite nowhere in the scrip.
Maby thats the problem ?
But i find the variable $ftpsite nowhere in the scrip.
Maby thats the problem ?
- Wednesday 07 December 2022 20:45
- Forum: Bash / PowerShell / Batch etc.
- Topic: Backup script Domoticz gives me headaches please help...
- Replies: 7
- Views: 1090
Backup script Domoticz gives me headaches please help...
Hi, I am using the backup script below which I found on domoticz wiki site. The backup part works great but I can't get the last part where folders older than xx days have to be deleted. #!/bin/bash # Sript to automatic backup some stuff from Domoticz # Run script every day from crontab. # Example ...
- Friday 25 November 2022 12:57
- Forum: Third party and supplementary tools
- Topic: Grafana SQLite plugin: Graphs Dashboard without InfluxDB datapush
- Replies: 44
- Views: 15721
Re: Grafana SQLite plugin: Graphs Dashboard without InfluxDB datapush
Correct I use a backup of the database which is updated every night. I don't have the data of the current day, but that's no problem for me. And so I stay on the safe side.
- Thursday 24 November 2022 20:18
- Forum: Third party and supplementary tools
- Topic: Grafana SQLite plugin: Graphs Dashboard without InfluxDB datapush
- Replies: 44
- Views: 15721
Re: Grafana SQLite plugin: Graphs Dashboard without InfluxDB datapush
It works ....
I have change the journal_mode from wall to delete and now i can acces the domoticz.db without any problem..
Find info here
https://www.sqlite.org/pragma.html#pragma_journal_mode
I have change the journal_mode from wall to delete and now i can acces the domoticz.db without any problem..
Find info here
https://www.sqlite.org/pragma.html#pragma_journal_mode
- Wednesday 23 November 2022 13:10
- Forum: Third party and supplementary tools
- Topic: Grafana SQLite plugin: Graphs Dashboard without InfluxDB datapush
- Replies: 44
- Views: 15721
Re: Grafana SQLite plugin: Graphs Dashboard without InfluxDB datapush
Hello, I still get a error when i wnt to install datasource error checking db: error checking for valid SQLite file: attempt to write a readonly database (1544) I have make a backup of the database and store it . The ownerschip is root with all rights 755 Is this plugin still working with beta of ...
- Monday 17 October 2022 18:05
- Forum: dzVents
- Topic: Gas consumption & cost per day, month and year [Solved]
- Replies: 7
- Views: 2485
Re: Gas consumption & cost per day, month and year [Solved]
It would be nice if you could indicate within the script on which date you want to start. As it is now a year is known from the present day as far as the annual calculations are concerned I think.. So it starts when my energie contract starts
- Sunday 16 October 2022 10:34
- Forum: dzVents
- Topic: Values are not sent to influxdb [Solved]
- Replies: 57
- Views: 12119
Re: Values are not sent to influxdb [Solved]
I have read this topic with great interest and as a newbie to Dzvents scripting. I've tried to run the script discussed here, but it doesn't work. What I want to do with the script is the following. I have a script for 'Gas per Degree Day' that I want to send the value to influx. The value appears ...
- Friday 30 September 2022 19:48
- Forum: OpenTherm gateway
- Topic: How to switch isense programs in domoticz
- Replies: 0
- Views: 992
How to switch isense programs in domoticz
hello,
I wondering if i can switch programs in my Isense thermo with domoticz.
Swithc between Program-A , Program-B , Continius Day or Continius night ??
I wondering if i can switch programs in my Isense thermo with domoticz.
Swithc between Program-A , Program-B , Continius Day or Continius night ??
- Wednesday 15 December 2021 20:20
- Forum: Other questions and discussions
- Topic: Domoticz error sending data to Influxdb
- Replies: 6
- Views: 779
Domoticz error sending data to Influxdb
Recently I replaced my old raspberry with a raspberry pi4. I only run Domoticz on this. On another raspberry pi3b+ I have Influxdb and Grafana running. I have Domoticz send data to Influxdb. Previously this went without any problems. Even now it seems to be going fine. However, every now and then I ...