<![CDATA[Things should just work - Automagically - Blog]]>Thu, 11 Feb 2016 00:44:49 -0800Weebly<![CDATA[New forum]]>Sat, 25 Jan 2014 10:14:48 GMThttp://automagically.weebly.com/blog/new-forum

The nice people at Telldus created a specific board for automagically at there forum. So for lengthier discussions and troubles please visit it.

There search functionality are also working so it will be much easier to find other peoples problems.

I am reading that forum almost every day so there is no point in double-posting here and over there.

So the only remaining question is where is it?

http://www.telldus.com/forum/viewforum.php?f=25

]]>
<![CDATA[Embarasing]]>Fri, 29 Nov 2013 21:29:02 GMThttp://automagically.weebly.com/blog/embarasingSo this is a little embarasing but the new image uploaded 10 days ago was also corrupt. 

I found the reason today and an hour later the fix was done. It has been my long lasting attempts to get rid of the InnoDB storage engine. The reason for getting rid of it is that it is to memoryhungry for the poor little Raspberry. Recently I changed the MySQL configuration to not load that storage engine but somehow that setting hadn't gone into effect. Untill now in the new image. And the result was not what I had forseen, and the interesting thing was that parts of the system was functional but many parts where not. (And my testing seemed to focus on the parts that did work)

I have now cleaned up the database and are in the progress of uploading the new image.]]>
<![CDATA[New image]]>Wed, 20 Nov 2013 20:34:59 GMThttp://automagically.weebly.com/blog/new-image1So I have now finaly found some time to create and upload a new image. Hopefully this will work compared to that total disaster that happend to the previous image.
My short findings are that the database wasn't shutdown correctly so it worked fine untill I removed the SD-card and made the image to share with you.
Let me know if there is any new problems.
It is no new functionality software wise, just an operating system update (sudo apt-get update; sudo apt-get dist-upgrade).
]]>
<![CDATA[Dynamic transform]]>Wed, 20 Nov 2013 06:05:22 GMThttp://automagically.weebly.com/blog/dynamic-transform

Last night I found time to add some functionality I have been thinking on for quite some time.

The signal transform can now include any global variable value just include the global variable name surrounded by $. And it will be replaced by the variables value when the transform executes. (The name is case sensitive)

Second change is for the more advanced user. If the transform starts with $EVAL: the rest of the string will be evaluated as a python expression. The result will be the new signal. I do acknowledge that this is a security problem as you can write any type of Python code here. I will address that later. I recommend keeping to arithmetics and conditional code. Don't think about making filesystem access or similar :-)

Examples:

$EVAL:"Min temp is " + str(min($temp_front$,$1))

This will output the temperature in the revived signal ($1) or from the global variable temp_front ($temp_front$) depending on which one is lower.

Good luck and let me know what you think or if you run into problems.

]]>
<![CDATA[New image severely brooken]]>Sat, 09 Nov 2013 17:05:28 GMThttp://automagically.weebly.com/blog/new-image-severely-brookenSome days ago I uploaded a new image to support the latest revision of RPi hardware. The only change compared to previous image was that I had done operating system update (apt-get update; apt-get dist-upgrade). However it seems like it doesn't work at all using the database on the new build.

The download page has been reverted to link to the previous image. For all existing 
]]>
<![CDATA[Installation on other linux systems]]>Sun, 22 Sep 2013 14:22:08 GMThttp://automagically.weebly.com/blog/installation-on-other-linux-systemsLast night I got a notice about that Jörgen Karlsson has put togheter an installer for Automagically for all of you that want to run it on another system than my preconfigured Raspberry Pi images. If it is another Raspberry Pi system or any other Linux system doesn't matter. This installer is found here:
https://bitbucket.org/jorkar/automagically_install
I took a quick look in it and it might be a little rough (overwritting) on your Apache/MySQL config files but apart from that Jörgen also has nicely written instructions on how to do the installation. (Haven't tried to execute it thou, because I already have automagically installed on my RPi).

Many thanks to Jörgen for this work!]]>
<![CDATA[Dont update - resolved]]>Sun, 28 Jul 2013 13:14:15 GMThttp://automagically.weebly.com/blog/dont-updateI have got indications on that the lagets update is not very good for some systems. Unfortunatly i am about 4000 km away from my computer and development environment so I can't do anything about it before the next Sunday.



So do not update if you don't make a full SD card backup before.

(That is recommended to do from time to time)

Edit: I have now (2013-08-07) fixed one issue and I therefor recommend to update again. But to be safe do make that backup of the SD-card.


]]>
<![CDATA[You've got mail]]>Thu, 25 Jul 2013 15:05:04 GMThttp://automagically.weebly.com/blog/youve-got-mail

If you update automagically now you will see some new settings available under system settings. These allow you to configure an outgoing email server (smtp) to send signals to your mail or someone else.

After entering the mail settings you can send emails by making a signal that looks like this: email:recipient@server.com:subject:text

If default to is set in settings you can leave that out but keep the :

And do not create loops by making a transform that send all signals as emails.

]]>
<![CDATA[Another update]]>Thu, 11 Jul 2013 22:35:59 GMThttp://automagically.weebly.com/blog/another-updateI havent done that much lately to Automagically but last day I found some time and started to interest me in HTML5 and application cache. This is something that should significantly speed up page loads if using remotes (the nice webinterface with buttons).
Just do an system update and let me know what you think. As this is a feature that is difficult to verify and might differ between devices and browser versions please let me know what you think. If you dont like it you can turn it off in the admin interface under each remote.
]]>
<![CDATA[New image (BETA)]]>Sun, 05 May 2013 17:09:15 GMThttp://automagically.weebly.com/blog/new-image-betaI have just uploaded a new image, hopefully this works on new Raspberry PIs.

Apart from an upgraded system it also contains a better xpath library for python (lxml) - if you dont understand what xpath is then this will not make a difference for you. I have also installed lirc and owfs-server in default. None of these are in active use with todays software but having them installed makes it possible for me to push software updates that utilize functionality from these.

There is two reasons this image is called beta.
1) I would very much like a confirmation on if this image works on a new Raspberry PI (those with Hynix memory)
2) I have some experimental way to make some optimization to the database, however I am not sure if this will work for all of you.

Before upgrade make a backup image of your whole card. Then make a copy of your configuration (Create or restore a configuration from the administrative interface, Make Backup, Download the new backup file to your desktop computer.

Now load the new image to your SD-card, enter the administrative interface, upload the backup-file and restore from it.
Please let me know if you run into any problems!

EDIT:
I have got confirmation on 1) so this is a fix for this. Please let me know if you experience any problems restoring from backup as that is an area where I have made changes that are a little "experimental".]]>