Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
General / Re: Vera App ios Swedish letters
« Last post by TiagoRolo on Today at 01:38:59 pm »
same problem for letters with "^", "'", "?"
23
General / Re: Is weather.mios.com Broken
« Last post by rigpapa on Today at 01:18:18 pm »
Someone mentioned it here:  http://forum.micasaverde.com/index.php/topic,118058.msg437560.html#msg437560  ;)

Sorin,

March 2019 is as little as 39 days from today, or 70 to 3/31. It would seem logical that beta releases were already in our hands. Can you clarify what the release plan is for this update?
24
Plugins & Plugin Development / Re: Plugin: LuaView
« Last post by therealdb on Today at 01:14:09 pm »
Fantastic work, I love this Plugin.
This helped me recently to identity a bug I had in a scene (calling a global variable that got renamed) and that only work during winter. Very hard to spot with the built in ui. Thanks again for your work!
25
General / Re: VeraPlus Flash drive usage
« Last post by rafale77 on Today at 01:12:31 pm »
Thank you blacey.
See the layout of the Edge in the attached screenshot.
It is much better than the one for the vera plus.
- First there is one less wasted partition: backup.
- The rootfs data is also a little bigger. 9.5MB instead of the odd 8.6MB.
- The plus maintained the same firmware block size as the edge but accommodates a little larger kernel which apparently caused the engineers to have to resize the rootfs data and screwed it up
- The storage partition is 64.75MB vs 50MB on the plus.
- Notice also how much bigger the config partition is on the edge (4MB) when the plus only has 512kB. Same comment for the factory ones. I suspect these are imposed by the custom bootloader provided by Sercomm.

That being said, it is still over half of your drive space which is essentially unused by vera and they run out of space trying to cram all of their data into the 9.5MB partition.
I will provide the script shortly
26
General / Re: Is weather.mios.com Broken
« Last post by Sorin on Today at 01:05:09 pm »
27
General / Re: Context and thread for executing actions
« Last post by rigpapa on Today at 12:46:43 pm »
Hi rigpapa,

In my new release of the Harmony plugin I thought it was a good idea to add some mapping functions one could call to map between names and ID's as I added the possibility to use either to start actions or send commands. I did not have a variable for that (what is the point, right) and could not figure out why the (run) action had no return value. So now it ends in a generic temp variable, and the S...xml definitions make it a nice return name.

As you say there are very few examples, mine now is one  :o

Cheers Rene

That's exactly the kind of thing I'd expect. I've done that as well in a plugin, to return the current plugin version, which is just a constant not stored in state. But I doubt that's ever been used by anybody.
28
General / Re: Context and thread for executing actions
« Last post by reneboer on Today at 12:38:37 pm »
Hi rigpapa,

In my new release of the Harmony plugin I thought it was a good idea to add some mapping functions one could call to map between names and ID's as I added the possibility to use either to start actions or send commands. I did not have a variable for that (what is the point, right) and could not figure out why the (run) action had no return value. So now it ends in a generic temp variable, and the S...xml definitions make it a nice return name.

As you say there are very few examples, mine now is one  :o

Cheers Rene
29
General / Re: Context and thread for executing actions
« Last post by rigpapa on Today at 12:37:51 pm »
It's immediately useful for actions which use the <job> tag, since it returns the actual job number.  This allows a plugin to follow the (asynchronous) status of the action, to know when it finishes, and, if necessary, to abort it.

OK, but that comes back in the first three result values of call_action(), and that's not really what I'm talking about. I'm referring to the contents of the fourth argument, and using that direcly from Lua.

Quote
Having said that, aside from the job termination notification, I know of no plugins which have tried to be that sophisticated with actions, probably because the documentation has been so poor.

Amen to that. Couple with a rather loose interpretation of UPnP, well, you know...

Quote
For actions which are invoked via HTTP requests, the possibility of returning useful parameters as part of the response has obvious benefits in terms of I/O and response time

Agreed. Being able to return that data in any form is also huge for me.
30
Harmony Hub Control / Re: Hub child Device status
« Last post by reneboer on Today at 12:30:07 pm »
Hi Buxton,

I do something similar and I took the approach that once the activity is fully started, all devices are ready to send the commands to. With the 3.0 release there is a new variable activityStatus. This is zero(0) what the hub is off (after PowerOff command), 1 when an activity is starting (other than -1, PowerOff), 2 when an activity is fully started, and 3 when the hub is powering off, i.e. running the PowerOff activity.

Maybe this can help.

I could take this one level further if you need. Each activity is build of a number of steps (devices to turn on, commands to send). The hub reports the total number of steps and each step completion, but right now those messages are ignored. I could put those in a variable as well and you can then monitor that whilst an activity is starting, i.e. activityStatus == 1.

Let me know.

Cheers Rene
Pages: 1 2 [3] 4 5 ... 10