I have just implemented weather data from Meteorologisk Institutt in Norway, but the log file shows me the following:
2020-12-26 14:42:28.887 Status: Meteorologisk: using Domoticz location settings (59.544583,10.444592)
2020-12-26 14:42:28.886 Error: Meteorologisk: No location fount for this hardware. Falling back to global domoticz location settings.
Since I live in Oslo I have used settings for Oslo in the settings panel.
I get some data with what they call global domoticz location settings (though I have no idea about what these settings are), but if I try to hardcode a setting, then I get a segmentation fault, and domoticz will crash. The data I get when Domoticz use global domoticz location settings seems OK at the moment, but as long as I don't know what the location is, I feel a bit lost (and I am not too happy with error messages in the log fil)
Can someone tell me what I am doing wrong?
Regards
Ulf
Problem location weather data
Moderator: leecollings
-
- Posts: 13
- Joined: Wednesday 07 November 2018 20:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.97
- Location: Jessheim, Norway
- Contact:
Re: Problem location weather data
Hi @ulfh2018
Did you solve this? I am struggling with the same thing. Even if i disable the hardware in the database, domoticz crashes (with hardcoded location data).
Did you solve this? I am struggling with the same thing. Even if i disable the hardware in the database, domoticz crashes (with hardcoded location data).
- basmeyer
- Posts: 9
- Joined: Monday 31 July 2017 12:53
- Target OS: NAS (Synology & others)
- Domoticz version: 2020.2
- Location: SE
- Contact:
Re: Problem location weather data
Same here, entered location coordinates that resulted Domoticz to crash. Won't run again. Nasty bug!!!
I tried to enter the location data because the 'sensor'-values were red and not updated for days.
First I entered a location with a ; as a separator, then a , as the separator. After the , it crashed.
Did the same with the Buienradar location details, hoping that the weather data accuracy would improve (because the data from Buienradar is sometimes sooooo OFF and the data provided by Meteorologisk Institutt in Norway was MUCH better).
No clue what to do next. I know where Domoticz is on my Asustor NAS, found the /domoticz folder with SSH and FileZilla. Now what...
Would like to edit the database so that I do not have to start all over, that would be a nightmare. Would even tend to forget about Domoticz completely, not so very happy about it anyway - development goes incredibly slow, which is understandable for a non-commercial application.
Did read about backup copies and remember making the settings for an automatic backup.
But there is no /domoticz/backups folder.
Any help appreciated.
I tried to enter the location data because the 'sensor'-values were red and not updated for days.
First I entered a location with a ; as a separator, then a , as the separator. After the , it crashed.
Did the same with the Buienradar location details, hoping that the weather data accuracy would improve (because the data from Buienradar is sometimes sooooo OFF and the data provided by Meteorologisk Institutt in Norway was MUCH better).
No clue what to do next. I know where Domoticz is on my Asustor NAS, found the /domoticz folder with SSH and FileZilla. Now what...
Would like to edit the database so that I do not have to start all over, that would be a nightmare. Would even tend to forget about Domoticz completely, not so very happy about it anyway - development goes incredibly slow, which is understandable for a non-commercial application.
Did read about backup copies and remember making the settings for an automatic backup.
But there is no /domoticz/backups folder.
Any help appreciated.
- kiddigital
- Posts: 435
- Joined: Thursday 10 August 2017 6:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Problem location weather data
Where did you enter the location data? Domoticz settings or the hardware module settings? Which modules?basmeyer wrote:Same here, entered location coordinates that resulted Domoticz to crash. Won't run again. Nasty bug!!!
I tried to enter the location data because the 'sensor'-values were red and not updated for days.
First I entered a location with a ; as a separator, then a , as the separator. After the , it crashed.
Did the same with the Buienradar location details, hoping that the weather data accuracy would improve (because the data from Buienradar is sometimes sooooo OFF and the data provided by Meteorologisk Institutt in Norway was MUCH better).
No clue what to do next. I know where Domoticz is on my Asustor NAS, found the /domoticz folder with SSH and FileZilla. Now what...
Would like to edit the database so that I do not have to start all over, that would be a nightmare.
Try to edit the database directly by running sqlite3 on the database. Maybe copy the db first to another system, edit it, and place it back.
Start with disabling the hardware modules by setting the Enabled column of the Hardware table to 0 for the relevant modules.
You can than edit the hardware settings using the normal hardware settings screen.
Which version are you running? Where did you get it from? Running the Docker image?basmeyer wrote: Would even tend to forget about Domoticz completely, not so very happy about it anyway - development goes incredibly slow, which is understandable for a non-commercial application.
If you look at the amount of updates in the Beta since the last stable release, I would not call development slow at all. It is up to you to decide to either run a Stable (which does not update often, its a stable ) or the almost daily updated beta (but changes are something breaks).
Maybe create your own backup strategy for your NAS setup.basmeyer wrote: Did read about backup copies and remember making the settings for an automatic backup.
But there is no /domoticz/backups folder.
Any help appreciated.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
One RPi with Pi foundation standard touch screen to display Dashticz
- basmeyer
- Posts: 9
- Joined: Monday 31 July 2017 12:53
- Target OS: NAS (Synology & others)
- Domoticz version: 2020.2
- Location: SE
- Contact:
Re: Problem location weather data
Thanks for the quick reply to my call for help!
In the meantime I located the domoticz.db database file with Filezilla and made a copy to put aside.
Next I deleted Domoticz as an app in the Asustor App Central and made sure the Domoticz folder was gone.
Then I reinstalled it but it keeps giving me the empty blue screen, even after waiting an hour.
I edited html5.appcache and removed the line views/update2.html which gave cache problems in the past, but to no avail.
The plan was to modify and import the database later, but as Domoticz looks more dead then alive, even with a default database, and I have nothing else to install it on to test (was planing to go Pi Compute Module with proper eMMC Flash memory instead of crappy subject to wear SDRAM later this year).
So as it does not even start with an empty database I do not know what to do next. I already spend hours on it today and it pretty much starts to feel like a waste of time. If I just had found this thread before...
I have used the officially in the App Central available non-docker version 2020.2.1 (not sure which build, it does not say it, if I can get the interface up and running I could tell) for quite some time now and that was working almost perfect (besides the Timers of Scenes which produce distorted screens) and I could update to more recent beta versions (which I did some weeks ago to check if that would solve the timers screens).
The docker version is available too and I worked with this in the past but that one is not updatable. Plus the database is totally different/incompatible I guess (Restore does not work) so that would mean a lot of work to get it all back the way it was. I also had the Telegram notification working and do not look forward to spend all this time again on it. It is like... at some point it has been enough, even it that would mean to loose that nice domo thing.
Sorry about what I said regarding the development, and for sure a lot of work must be done under the hood of Domoticz if you look at the release notes, but as far as other more interface and user related functionality I do not see any difference between versions from years ago and consider some functionality still really clunky. Tried to look at the skins but they run behind as far as I could tell and I would not like to invite trouble when you go for an update.
---
Update: I have my browsers cleared to give something more than the blue ocean only. Will try to load the database in SQlite.
Which is command line only, so that is not my route to take.
That's it with time, if you just throw enough of it on it, it might get you there at some point.
But I cannot spend it on this... Any other suggestions to edit the .db file?
Another update: ever mind, I messed up in the process and got rid of the original .db and kept the one that I tried to edit to carve out the location data with the text editor. And probably ruining the database in the process. It won't restore or work when I put it in the folder. So I only got a backup of a year ago that I made manually. Which is very very old and with just a fraction of what I have added in the meantime. And a lot of red sensors and switches even though nothing has changed in the hardware (z-wave stick). Tried to restart the NAS many times now. Because the auto backups do NOT work on the Asustor NAS. Even if you can make the settings for it.
So that's it for now, I will leave it as it is, or might just well turn Domoticz off, and pick it up when I have so much time that I do not know what to do with it anyway.
Just mentioning a last warning:
------------------------------------------------------------------------------------------------
DO NOT FILL IN ANY LOCATION DETAILS WITH THE METEO PLUGINS !!! HIGH RISK OF PERMANENT CRASH !!!
------------------------------------------------------------------------------------------------
In the meantime I located the domoticz.db database file with Filezilla and made a copy to put aside.
Next I deleted Domoticz as an app in the Asustor App Central and made sure the Domoticz folder was gone.
Then I reinstalled it but it keeps giving me the empty blue screen, even after waiting an hour.
I edited html5.appcache and removed the line views/update2.html which gave cache problems in the past, but to no avail.
The plan was to modify and import the database later, but as Domoticz looks more dead then alive, even with a default database, and I have nothing else to install it on to test (was planing to go Pi Compute Module with proper eMMC Flash memory instead of crappy subject to wear SDRAM later this year).
So as it does not even start with an empty database I do not know what to do next. I already spend hours on it today and it pretty much starts to feel like a waste of time. If I just had found this thread before...
I have used the officially in the App Central available non-docker version 2020.2.1 (not sure which build, it does not say it, if I can get the interface up and running I could tell) for quite some time now and that was working almost perfect (besides the Timers of Scenes which produce distorted screens) and I could update to more recent beta versions (which I did some weeks ago to check if that would solve the timers screens).
The docker version is available too and I worked with this in the past but that one is not updatable. Plus the database is totally different/incompatible I guess (Restore does not work) so that would mean a lot of work to get it all back the way it was. I also had the Telegram notification working and do not look forward to spend all this time again on it. It is like... at some point it has been enough, even it that would mean to loose that nice domo thing.
In the Hardware section, Meteorologisk Institutt and Buienradar have dedicated modules to add.Where did you enter the location data? Domoticz settings or the hardware module settings? Which modules?
Sorry about what I said regarding the development, and for sure a lot of work must be done under the hood of Domoticz if you look at the release notes, but as far as other more interface and user related functionality I do not see any difference between versions from years ago and consider some functionality still really clunky. Tried to look at the skins but they run behind as far as I could tell and I would not like to invite trouble when you go for an update.
---
Update: I have my browsers cleared to give something more than the blue ocean only. Will try to load the database in SQlite.
Which is command line only, so that is not my route to take.
That's it with time, if you just throw enough of it on it, it might get you there at some point.
But I cannot spend it on this... Any other suggestions to edit the .db file?
Another update: ever mind, I messed up in the process and got rid of the original .db and kept the one that I tried to edit to carve out the location data with the text editor. And probably ruining the database in the process. It won't restore or work when I put it in the folder. So I only got a backup of a year ago that I made manually. Which is very very old and with just a fraction of what I have added in the meantime. And a lot of red sensors and switches even though nothing has changed in the hardware (z-wave stick). Tried to restart the NAS many times now. Because the auto backups do NOT work on the Asustor NAS. Even if you can make the settings for it.
So that's it for now, I will leave it as it is, or might just well turn Domoticz off, and pick it up when I have so much time that I do not know what to do with it anyway.
Just mentioning a last warning:
------------------------------------------------------------------------------------------------
DO NOT FILL IN ANY LOCATION DETAILS WITH THE METEO PLUGINS !!! HIGH RISK OF PERMANENT CRASH !!!
------------------------------------------------------------------------------------------------
Who is online
Users browsing this forum: No registered users and 1 guest