Guide install HomeAutomation on Raspberry PI 2 Modell B

http://karpero.mine.nu/ha

Moderators: tom_rosenback, Daniel, Telldus

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby tom_rosenback » Thu Oct 01, 2015 10:36 am

lorde wrote:Any idea ? :)

You want rows to or from the logfile?
//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
tom_rosenback
 
Posts: 764
Joined: Tue Aug 05, 2008 9:37 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby robban035 » Thu Oct 01, 2015 7:18 pm

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?
robban035
 
Posts: 1
Joined: Thu Oct 01, 2015 7:12 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby lorde » Fri Oct 02, 2015 5:00 am

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 ...
Last edited by lorde on Fri Oct 02, 2015 5:05 am, edited 1 time in total.
lorde
 
Posts: 19
Joined: Sat Sep 05, 2015 6:01 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby lorde » Fri Oct 02, 2015 5:02 am

tom_rosenback wrote:
lorde wrote:Any idea ? :)

You want rows to or from the logfile?


To the logfile. I would like to have for instance 1 row / hour. Possible? :?
lorde
 
Posts: 19
Joined: Sat Sep 05, 2015 6:01 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby tom_rosenback » Sat Oct 03, 2015 6:29 am

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?

As it suggests HA cannot write/create the file which means that www-data doesn't have sufficient permissions. Try chmod command.
//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
tom_rosenback
 
Posts: 764
Joined: Tue Aug 05, 2008 9:37 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby tom_rosenback » Sat Oct 03, 2015 6:32 am

lorde wrote:
tom_rosenback wrote:
lorde wrote:Any idea ? :)

You want rows to or from the logfile?


To the logfile. I would like to have for instance 1 row / hour. Possible? :?

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.
//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
tom_rosenback
 
Posts: 764
Joined: Tue Aug 05, 2008 9:37 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby lorde » Sun Oct 11, 2015 7:39 am

tom_rosenback wrote:can you try to explain exactly what you want to achieve?


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 )
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
lorde
 
Posts: 19
Joined: Sat Sep 05, 2015 6:01 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby lorde » Sun Oct 11, 2015 7:53 am

lorde wrote:
tom_rosenback wrote:can you try to explain exactly what you want to achieve?


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 )
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
lorde
 
Posts: 19
Joined: Sat Sep 05, 2015 6:01 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby tom_rosenback » Sun Oct 11, 2015 7:59 am

lorde wrote:
lorde wrote:
tom_rosenback wrote:can you try to explain exactly what you want to achieve?


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 )
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.

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
tom_rosenback
 
Posts: 764
Joined: Tue Aug 05, 2008 9:37 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby lorde » Sat Dec 12, 2015 7:27 pm

Hello to all!
Clear Log not working anymore. Do you know where is the log file located, i want to empty-it manually.

Thanks !
lorde
 
Posts: 19
Joined: Sat Sep 05, 2015 6:01 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby tom_rosenback » Mon Dec 14, 2015 8:10 am

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 !

You are talking about a physical file? These you need to delete manually.
//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
tom_rosenback
 
Posts: 764
Joined: Tue Aug 05, 2008 9:37 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby lorde » Thu Dec 17, 2015 7:19 am

tom_rosenback wrote:
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 !

You are talking about a physical file? These you need to delete manually.


Yes , i was talking about physical file. However, i solved the problem, i was loged-on as "local" instead of "admin"
lorde
 
Posts: 19
Joined: Sat Sep 05, 2015 6:01 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby murre87 » Mon Feb 13, 2017 7:43 am

Installationscript for HA & Tellstick at Raspberry PI.

https://github.com/ollan/rpi-tellstick-homeautomation
murre87
 
Posts: 27
Joined: Wed Oct 15, 2014 8:21 am

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby lorde » Sun Mar 12, 2017 8:59 pm

Hello there !

Any ideea how to fix the clock ?
The time shows 3H40min less ...

Thank you in advance !!!
lorde
 
Posts: 19
Joined: Sat Sep 05, 2015 6:01 pm

Re: Guide install HomeAutomation on Raspberry PI 2 Modell B

Postby tom_rosenback » Mon Mar 13, 2017 5:25 am

lorde wrote:Hello there !

Any ideea how to fix the clock ?
The time shows 3H40min less ...

Thank you in advance !!!

Hi,

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
tom_rosenback
 
Posts: 764
Joined: Tue Aug 05, 2008 9:37 pm

PreviousNext

Return to HomeAutomation

Who is online

Users browsing this forum: No registered users and 1 guest