You want rows to or from the logfile?lorde wrote:Any idea ?
Guide install HomeAutomation on Raspberry PI 2 Modell B
Moderators: Daniel, tom_rosenback, Telldus
-
- Posts: 779
- Joined: Fri Mar 17, 2023 9:45 am
- Contact:
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
//Tom
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
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 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?
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
I think You can use WinSCP to modify the owner and the rights. You have to be logged-in as root (in WinSCP )
I wish i could help better ...
I wish i could help better ...
Last edited by lorde on Fri Oct 02, 2015 5:05 am, edited 1 time in total.
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
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 ?
-
- Posts: 779
- Joined: Fri Mar 17, 2023 9:45 am
- Contact:
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
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?
//Tom
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
-
- Posts: 779
- Joined: Fri Mar 17, 2023 9:45 am
- Contact:
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
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 ?
//Tom
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
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.
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
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
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
-
- Posts: 779
- Joined: Fri Mar 17, 2023 9:45 am
- Contact:
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
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
Regarding your dynamic schedule, both are correct only differnce is that the second one will turn off immidiately when temp is over 20, the other one will turn off at 0800 even if temp is below 20.
//Tom
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
Hello to all!
Clear Log not working anymore. Do you know where is the log file located, i want to empty-it manually.
Thanks !
Clear Log not working anymore. Do you know where is the log file located, i want to empty-it manually.
Thanks !
-
- Posts: 779
- Joined: Fri Mar 17, 2023 9:45 am
- Contact:
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
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 !
//Tom
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
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 !
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
Installationscript for HA & Tellstick at Raspberry PI.
https://github.com/ollan/rpi-tellstick-homeautomation
https://github.com/ollan/rpi-tellstick-homeautomation
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
Hello there !
Any ideea how to fix the clock ?
The time shows 3H40min less ...
Thank you in advance !!!
Any ideea how to fix the clock ?
The time shows 3H40min less ...
Thank you in advance !!!
-
- Posts: 779
- Joined: Fri Mar 17, 2023 9:45 am
- Contact:
Re: Guide install HomeAutomation on Raspberry PI 2 Modell B
Hi,lorde wrote:Hello there !
Any ideea how to fix the clock ?
The time shows 3H40min less ...
Thank you in advance !!!
Have you checked php.ini setting for timezone?
//Tom
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha
Senaste info och release om/av HomeAutomation hittas här http://karpero.mine.nu/ha
Latest info and release of HomeAutomation can be found here http://karpero.mine.nu/ha