Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
Posted: Fri Mar 17, 2023 9:45 am
You want rows to or from the logfile?lorde wrote:Any idea ?
A little text to describe your forum
https://forum.telldus.com/
You want rows to or from the logfile?lorde wrote:Any idea ?
To the logfile. I would like to have for instance 1 row / hour. Possible?tom_rosenback wrote:You want rows to or from the logfile?lorde wrote:Any idea ?
As it suggests HA cannot write/create the file which means that www-data doesn't have sufficient permissions. Try chmod command.robban035 wrote:Hi,
I did follow the guide but got stuck at
----
sudo chown -R root:www-data HomeAutomation/
Surf to the HomeAutomation
http://homepi/HomeAutomation
----
and when i run the setup i get this
----
Could not open '/var/www/HomeAutomation/system/mysql_settings.php' for writing
----
when i list the files in /var/www/HomeAutomation/system/ there is no mysql_settings.php
any hints on what is wrong?
I seem to have forgotten what sensors you have that you want to read but can you try to explain exactly what you want to achieve? Parser does not write anything to any log file regarding sensor readings this you have to setup separately.lorde wrote:To the logfile. I would like to have for instance 1 row / hour. Possible?tom_rosenback wrote:You want rows to or from the logfile?lorde wrote:Any idea ?
I would like to log the temperatures (some of them). I would like to make them available immediately (in written, not on the graph) and separate from others ( for instance if i like to see how was moving outside temp last night, i want to open the log file for that purpose and read )tom_rosenback wrote:can you try to explain exactly what you want to achieve?
lorde wrote:I would like to log the temperatures (some of them). I would like to make them available immediately (in written, not on the graph) and separate from others ( for instance if i like to see how was moving outside temp last night, i want to open the log file for that purpose and read )tom_rosenback wrote:can you try to explain exactly what you want to achieve?
Even more advanced, i like to log any temperature witch is outside some boundaries (example: if basement temp dropped below 10, write a line in log file)
Question is how to write in the log file, and/or what exactly is the purpose of the log file (how was meant to be used) ??
Question 2:
I want to heat up a room, between 7 and 8 o' clock in morning, up to 20 dgr. C. How is correct to do, A or B ? :
A.
Static ON 07:00
Dynamic ON if t < 15
Dynamic OFF if t > 20
Static OFF 08:00
B.
Static ON 07:00
Dynamic OFF if t > 20
Static OFF 08:00
Logfiöes which are inside of parser folder are only examples of what the parser is able to read and parse. Weather parser is not ment to be used for writing to these logfiles. Possible to do with some code work but as I said weather parser is only ment for reading not writing to these logfiles.lorde wrote:lorde wrote:I would like to log the temperatures (some of them). I would like to make them available immediately (in written, not on the graph) and separate from others ( for instance if i like to see how was moving outside temp last night, i want to open the log file for that purpose and read )tom_rosenback wrote:can you try to explain exactly what you want to achieve?
Even more advanced, i like to log any temperature witch is outside some boundaries (example: if basement temp dropped below 10, write a line in log file)
Question is how to write in the log file, and/or what exactly is the purpose of the log file (how was meant to be used) ??
Question 2:
I want to heat up a room, between 7 and 8 o' clock in morning, up to 20 dgr. C. How is correct to do, A or B ? :
A.
Static ON 07:00
Dynamic ON if t < 15
Dynamic OFF if t > 20
Static OFF 08:00
B.
Static ON 07:00
Dynamic OFF if t > 20
Static OFF 08:00
You are talking about a physical file? These you need to delete manually.lorde wrote:Hello to all!
Clear Log not working anymore. Do you know where is the log file located, i want to empty-it manually.
Thanks !
Yes , i was talking about physical file. However, i solved the problem, i was loged-on as "local" instead of "admin"tom_rosenback wrote:You are talking about a physical file? These you need to delete manually.lorde wrote:Hello to all!
Clear Log not working anymore. Do you know where is the log file located, i want to empty-it manually.
Thanks !
Hi,lorde wrote:Hello there !
Any ideea how to fix the clock ?
The time shows 3H40min less ...
Thank you in advance !!!