HomeAutomation v3.1 released [2015-12-14]

http://karpero.mine.nu/ha

Moderators: tom_rosenback, Daniel, Telldus

Post Reply
tom_rosenback
Posts: 778
Joined: Thu Jan 18, 2018 11:08 am
Contact:

HomeAutomation v3.1 released [2015-12-14]

Post by tom_rosenback » Thu Jan 18, 2018 11:08 am

It has been a long time since a release of HomeAutomation, but finally, here I present v3.1. Hope that you all enjoy this version and please report if you find anything odd! Download at http://karpero.mine.nu/ha/

Update by replacing old files with the ones in the zip, if you have an older version than 3.0 I recommend that you do a fresh install.

v3.1 released 2015-12-14
- [Temperatures] Graphs and sensor readings with irregular intervals
- [General] IP behind proxy is displayed wrong
- [API] Deprecate old ajaxinterface methods
- [Scheduler] Selecting all devices will not turn on engineheater
- [General] Move repetition of action on devices from run.php to plugins.
- [Scheduler] Creating a new schedule does not calculate the runtimes like the nightly job does
- [Temperatures] Configure paths in jpgraph
- [General] Saving systemschedules with invalid path generates blank page
- [Tellstick] Remove LockDongle
- [General] Hide custompages menu option if no pages configured
- [General] Installing a new version should dismiss message from db
- [Installer] Remove safe_mode prerequisitie check
- [Configuration] Changing password for user results in error
- [Houseplan] External temperature icon missing
- [General] Add translations for in all places where addMessage is used
//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

aryan
Posts: 88
Joined: Thu Jan 18, 2018 11:08 am

Re: HomeAutomation v3.1 released [2015-12-14]

Post by aryan » Thu Jan 18, 2018 11:08 am

Thanks, this is good news :)

How should I upgrade from the last beta version of 3.1 to 3.1? The install scrips complains because it wants to adds field for 3.1 that are already there…
Oops, something is wrong with your database!

Duplicate column name 'lastupdated'

Query: ALTER TABLE systemplugins ADD lastupdated DATETIME

Please correct the problem and try again.
If you have had the SVN version installed I think easiest is to remove the install folder and then change the setting in database to 3.1. Look in settings table for a setting named version, change this to 3.1 or you could simply run this query

Code: Select all

UPDATE settings SET value='3.1' WHERE name='version' AND grouping='system'; 

aryan
Posts: 88
Joined: Thu Jan 18, 2018 11:08 am

Re: HomeAutomation v3.1 released [2015-12-14]

Post by aryan » Thu Jan 18, 2018 11:08 am

If you have had the SVN version installed I think easiest is to remove the install folder and then change the setting in database to 3.1. Look in settings table for a setting named version, change this to 3.1 or you could simply run this query

Code: Select all

UPDATE settings SET value='3.1' WHERE name='version' AND grouping='system'; 
Ok thanks it works :-) the helppage says "HomeAutomation 3.1, släppt 2015-12-14” but on all pages I still get the notice about the new version:
Nya systemversioner funna, ladda ner här. LBL_READMORE

tom_rosenback
Posts: 778
Joined: Thu Jan 18, 2018 11:08 am
Contact:

Re: HomeAutomation v3.1 released [2015-12-14]

Post by tom_rosenback » Thu Jan 18, 2018 11:08 am

aryan wrote:
If you have had the SVN version installed I think easiest is to remove the install folder and then change the setting in database to 3.1. Look in settings table for a setting named version, change this to 3.1 or you could simply run this query

Code: Select all

UPDATE settings SET value='3.1' WHERE name='version' AND grouping='system'; 
Ok thanks it works :-) the helppage says "HomeAutomation 3.1, släppt 2015-12-14” but on all pages I still get the notice about the new version:
Nya systemversioner funna, ladda ner här. LBL_READMORE
Yes, just dismiss that by clicking the X in the corner and it will not show up anymore. See a missing translation there, thx!
//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

aryan
Posts: 88
Joined: Thu Jan 18, 2018 11:08 am

Re: HomeAutomation v3.1 released [2015-12-14]

Post by aryan » Thu Jan 18, 2018 11:08 am

Ok thanks! What is the current status of the Google calendar activations?

Would be nice to use it for automatic lights off during earth hour once a year :-)

Daniel
Posts: 315
Joined: Thu Jan 18, 2018 11:08 am

Re: HomeAutomation v3.1 released [2015-12-14]

Post by Daniel » Thu Jan 18, 2018 11:08 am

aryan wrote:Ok thanks! What is the current status of the Google calendar activations?

Would be nice to use it for automatic lights off during earth hour once a year :-)
The status for that is kinda dark I'm afraid. It was something I started working on years ago and never finished. The Google Calendar API has changed at least once since then, so I think it'd need a start from scratch to get it working.

/Daniel
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

aryan
Posts: 88
Joined: Thu Jan 18, 2018 11:08 am

Re: HomeAutomation v3.1 released [2015-12-14]

Post by aryan » Thu Jan 18, 2018 11:08 am

Ok I haven’t looked into the API but there are maybe other ways to control things so they only occur once a year.

I found some minor issues:
- Saving a sensortypes returns an empty page and an error in apache2/error.log:
[pid 28860] [client 192.168.20.109:63088] PHP Fatal error: Call to undefined method SystemMessage::toJSON() in /var/www/HomeAutomation/modules/configurator/sensortypes/action.save.php on line 64, referer: http://192.168.20.152/HomeAutomation/?p ... =edit&id=1
- Possibly related, can’t save/upload custom icons in sersortypes
- In the main menu: ”My Pages” = missing localized string like ”Mina sidor”?
- In the main menu under ”My Pages” error in character encoding: <a href="./?page=custompages-cons">Str�mf�rbrukning</a>

jesperl
Posts: 6
Joined: Thu Jan 18, 2018 11:08 am

Re: HomeAutomation v3.1 released [2015-12-14]

Post by jesperl » Thu Jan 18, 2018 11:08 am

I have installed the latest version, and now I cant' get the macros to execute from the mobile view. I've tried the mobile view on both iPhone and PC with no luck.

tom_rosenback
Posts: 778
Joined: Thu Jan 18, 2018 11:08 am
Contact:

Re: HomeAutomation v3.1 released [2015-12-14]

Post by tom_rosenback » Thu Jan 18, 2018 11:08 am

jesperl wrote:I have installed the latest version, and now I cant' get the macros to execute from the mobile view. I've tried the mobile view on both iPhone and PC with no luck.
Hi,

Just looked on this and found the problem, will try to get out a fix for as soon as possible.
//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: 778
Joined: Thu Jan 18, 2018 11:08 am
Contact:

Re: HomeAutomation v3.1 released [2015-12-14]

Post by tom_rosenback » Thu Jan 18, 2018 11:08 am

And now the release is out, v3.1.1, go check it out.
//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

Post Reply