The Vera Community forums have moved!

General => Remote Control => Topic started by: Da_JoJo on July 09, 2013, 02:19:25 pm

Title: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on July 09, 2013, 02:19:25 pm
currently developing a remote control program for windows.  this is W.I.P. and has no E.T.A.

in this topic i will keep track of all the stuff thats going to be in it and what needs work
any good ideas for the working of the program  or stuff you want in it, please share it in this topic
working on version 1 which is later on going to be the base of a open source version of the remote which is going to have a own github.
stuff that needs to be in it eventually:

-control for admin/user

- nice workable layout and theme for the icons and the background. <most of it done, still looking for best way to do this.
  If you can draw better pictures then me (which should not be that hard lol) please do attach these in a post so i can use them.
  We need device background, icons , dimmer sliders and control buttons , fullscreen background (set to 1280x1024 for compatibility reason subject to change), on/off
   /arm/disarm,  buttons, hvac etc...

graphics:

  all 32 bit depth 96pix/inch .PNG format
  - icons for the devices need to be 64x64
  - background for devices need to be single pane 210x210 and double pane 210x420
  - buttons for devices need to be 64x32
  - Fullscreen background 1280x1024
  - dimmer slider background 32x160
  - dimmer knob 32x16
  - i use paint.net for these .. available here : http://www.dotpdn.com/downloads/pdn.html (http://www.dotpdn.com/downloads/pdn.html)
  -- templates attached

- going to make it theme switchable by user so you can have multiple themes to choose. 3 times a day auto-changed background. day/evening/night

- fullscreen mode screen with sliders for dimmers and such > not for a while, as this needs extra programming for sizes and theme

- multiple vera's supported controlled by tab. user selects which vera's as per username he wish to connect. <done

- plugins that users wrote (allow me to use them please and donate me the icon for it in this topic :-) )

- camera's picture and streaming .. put camera streaming video in separate boxes. multiple cams simultaniously on multiple monitors < done

- whatever we can think of..  please let me know your ideas :=)

edit :
while working on this i found that it would be better to have a customized theme xml file and the possibility to put the buttons, sliders and icons wherever you might wanna place them in the device background. this will take a lot of time (half of it done) so please be patient  ;D
Title: Re: Yu Remote for windows (development stage)
Post by: Da_JoJo on July 09, 2013, 02:20:29 pm
is there a way that vera notifies the client program when the job status or some variable changes ?
Title: Re: Yu Remote for windows (development stage)
Post by: RichardTSchaefer on July 09, 2013, 05:12:01 pm
no, But when you poll Vera using lu_status2 (and appropriate args) you get changes since last poll which include changes to Device State Variables and Jobs.
Title: Re: Yu Remote for windows (development stage)
Post by: garrettwp on July 09, 2013, 09:34:21 pm
You'll need to make sure you pass the data version and load time of the last poll to get the changes.

- Garrett

Title: Re: Yu Remote for windows (development stage)
Post by: Da_JoJo on July 10, 2013, 01:26:04 pm
is there a difference between lu_status  and lu_status2 ? when i use sdata or user_data it also gives same output as lu_sdata and lu_userdata2
user_data and user_data2 , sdata, status seem to work also without the lu_  in front.
it is a bit confusing which one to use for the right purpose :s
what is difference between user_data and user_data2 or status and status2 ?
using user_data2 as main input source now. but for updates i can use the status2 and pass the poll time for changes on vera unit,how ?
got a login screen now that one can input username and this checks sta1.mios.com for connected veras and ip then goes to vera unit selection screen where one can select the unit(s) which one can connect to. then it goes to a screen with vera(s) with the devices per room.
still thinking about what is best approach.
Title: Re: Yu Remote for windows (development stage)
Post by: RichardTSchaefer on July 10, 2013, 02:10:21 pm
You can see my Java Loop for accessing Vera.
It includes all of the logic to swap between connections (Remote, Local, Direct), Initial Status, Polling results, ...
Title: Re: Yu Remote for windows (development stage)
Post by: Da_JoJo on July 10, 2013, 02:17:16 pm
thanx !
i attached a screenie of what i allready got now :-)
edit: looked @ java and its now clear to me what i need to do to properly poll the vera for updates. saves a lot of braindamage :)
having a hard time now to find out what is the best approach for easy and functioning userinterface. i have option to a) divide into category or b) make an extra setting which can set every single device displaybox to visible or non-visible or perhaps both.
any input greatly appreaciated on how to make the userinterface. i choose to separate devices by room as this seems most logical. stuck now on how to show device categorys. whether the room shows all categorys or show as be switched on/off per category or separate them under linebreaks per category
Title: Re: Yu Remote for windows (development stage)
Post by: Da_JoJo on July 11, 2013, 11:22:19 am
bug in forum... when i press F5 / refresh page in browser the view count of icon_tile increases.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on July 21, 2013, 07:14:35 pm
got a bit further now and started to implement the icons and skinnable dimmer and a few plugins.
if anyone got any suggestions please do tell me  ;D
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on July 23, 2013, 10:09:26 am
little progress.. new grafix en alignment
Title: Re: Yu Vera Remote for windows (development stage)
Post by: intveltr on July 25, 2013, 05:04:47 am
Nice project.  Are you also targeting Windows based mobile platforms with this?  It seems there is a demand for something like that.

By the way, if you still need icons, google around for free ones.  There are some rather nice ones out there under various licenses, usually cc by-sa meaning you can use them freely (sometimes even commercially) as long as you attribute the creator and distribute the icons under the same conditions.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on July 26, 2013, 06:12:08 am
thnx :-)
i have no experience with windows phone platform. not really planning to make such version as there is allready Grasshopper which is nice. the yu remote is mostly .NET 4.0
icons is not really my main focus right now as im making a theme implementation so everyone can have their own icons and background and such. but if someone has some nicer looking icons/buttons , please do send me these. the ones i used for now are from UI5 and from google picture search. ill look into this later on. if you happen to have some nice ones please gimme links to these :-)
Title: Re: Yu Vera Remote for windows (development stage)
Post by: SOlivas on July 26, 2013, 10:02:45 am
This looks interesting, not sure how well it works though.

http://forum.micasaverde.com/index.php/topic,6489.0.html
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on July 26, 2013, 10:06:51 am
thats for implementation in the mediacenter.. my remote is a standalone. if you have tried it and succeeded i would be amazed.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: SOlivas on July 28, 2013, 11:11:43 pm
Never tried it.  Media center is too painful to use for just simple stuff, I could only imagine how painful it would be for anything more complex.

Never cared for the idea of tying a computer into the Xbox 360 for a multi-media center.



Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on September 06, 2013, 10:38:49 am
If you would like to try out a early alpha (stable) version you can download it here : https://houseofyu.nl/Yu_Vera_Remote.rar (https://houseofyu.nl/Yu_Vera_Remote.rar)
start the program with : vera_remote.exe
win8 nags about screenfilter.. just run it anyway its a false positive. its because it uses remote http requests in .NET4.0
in the program screen right click and choose Connect Unit(s) and fill in local IP or username for your vera
on the camera tiles you can rightclick and stream video in a separate window. rightclick on other devices gives info or other options.
please give feedback  ::)

Title: Re: Yu Vera Remote for windows (development stage)
Post by: Piwtorak on September 06, 2013, 11:13:10 am

hello, good job.

but some devices like Hue settings, sonos, virtual switch, do not appears like would.

good tool for use in one pc.

thanks for the job, looks promising.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on September 06, 2013, 11:23:34 am
thanks for the feedback :-)
that is correct, i have not implemented these. just mention what is missing and i see if i can implement it. having the icons for it would be nice so if you know where i can find these it be great. you can change all grafics to match the wall and switchbackplates you have as well as the icons.
there in default directory. it also supports touchscreen monitors for win7/8.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Piwtorak on September 06, 2013, 02:21:08 pm
Original Icons for sonos I think is on the sonos plugin installation pack.
anothers I don't know.
but for some more beautiful try: iconarchive.com
Title: Re: Yu Vera Remote for windows (development stage)
Post by: SOlivas on September 10, 2013, 09:47:03 am
Looks like you are off to a good start.

Here's a few things I noticed:

One quirky thing that I noticed, the remote doesn't show the ACP Plugin from (http://forum.micasaverde.com/index.php/topic,16190.msg123599.html#msg123599) as a switch -- but if I click on the icon for it, the on/off even is still being fired as if it were a switch.

Virtual Switches aren't showing up either -- just the default icon from the Vera is shown (blue orb).

If you have too many tabs, there is no way to scroll right to see the others.


Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on September 11, 2013, 11:58:48 am
currently rebuilding the program. i have a color wheel for the rgbw controller built in and scenes are added.
i see if can implement the virtual switch. i'll add the rest of the plugins when im done with the main-interface.
everything with a blue orb doesnt have implementation yet.
the tabs row should be enough for a dozen of rooms i thought. dont know how many u have ? running a apparment building on it ? :-D
icons on that website are mostly protected by copyright so the're not much of use  :(
Title: Re: Yu Vera Remote for windows (development stage)
Post by: SOlivas on September 13, 2013, 10:36:08 pm
+1

I've grouped things by what/where they are.  Some items, like climate control, are in their own tab, etc.  16 tabs total (yeah, I know but it makes it easy to pick out a control to use fast).

And are there plans to release the code as well?  It would be interesting to see how you implemented it,

Thanks.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on September 13, 2013, 10:50:45 pm
ah ok, i see what i can do about the tabs.
recompiled code to visual studio 2012 now and going to release it as open source, so yes the code will eventually be released but not for the moment.
i'll get an update out as soon as i finished the rebuilding of the main code and some more plugin support. this will take some time and i have no idea yet how many.

edit:
uploaded new version with rgbw colorwheel, new switches, virtual switch and right upper corner tab-scroll left/right. use link above to download. seems armed/disarmed icon is not changing anymore.. i get that fixed> 16-9-2013 : its fixed > added new colorpicker 17:39
Title: Re: Yu Vera Remote for windows (development stage)
Post by: ntk on September 16, 2013, 04:42:00 am
all the rooms names and everything else in hebrew i see in gibberish

https://dl.dropboxusercontent.com/u/85710841/Untitled.png

Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on September 16, 2013, 10:40:07 am
lol looks funny. i see what i can do about it. either a separate font file so one can exchange this for another or some settings thing. if you have suggestion let me know :-)
Title: Re: Yu Vera Remote for windows (development stage)
Post by: ntk on September 17, 2013, 06:25:57 am
i have no idea ::) but this is also like this in the "Live energy usage" tab in vera, every other tab is fine, i will ask them if they can fix this also in vera
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on September 19, 2013, 04:51:23 pm
mm thats not good. probably some utf-8 parsing error or missing reference in includes. shouldnt be too much efford to fix.

>newer version uploaded 19-9. bug fixes and improved rgbw control.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on September 21, 2013, 05:20:32 pm
new version uploaded 21-9 23:19 GMT+1  : added dimmer icon, adjusted job(s) info, changed pictures names, added scene status.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on September 27, 2013, 03:43:48 pm
new version 27-9-2013 : added vera alerts , settings option to set polling interval, some changes to RGBW control, virtual switch, set buttons background to transparant 1 instead of 0, set size of device-background to 210 vs 200, added double background for double wide devices, added extra data tab to device info
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on October 25, 2013, 07:56:05 am
currently working on a redo of the theme system. going to make it so that every theme is in a separate directory and you be able to set the whole layout through a theme.xml file. things like positions,icons, buttons.. etc.. so you can put the buttons in whatever size and any position in the device background pic.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: betabob on November 04, 2013, 01:54:47 pm
Great Work!

a few things don't seem to display ie: iPhone Locator stats, would be nice if only to show latest location and presence, Aeon Labs Power meter, Day/Night plugin, Countdown Timer plugin, Sclage Door Lock status, Aeon Labs 4 in 1 motion sensor (no light values)

Just a heads up great interface

Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on November 04, 2013, 11:31:48 pm
sure i'll look at it. would be nice if you could give me the used service url's for these.(for example : http://192.168.1.140:3480/data_request?id=lu_action&DeviceNum=26&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=0 ).
in the meanwhile i made the plugins a separate file so later on one just needs to add the plugin dll for the plugin/device and it would use this for control the plugin/device in the remote itself. got a few graphicssystem bugs i have to solve first before releasing it.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: garrettwp on November 05, 2013, 03:01:16 am
It is all documented here:

http://wiki.micasaverde.com/index.php/Luup_UPNP_Files

- Garrett
Title: Re: Yu Vera Remote for windows (development stage)
Post by: betabob on November 05, 2013, 10:42:17 am
sure i'll look at it. would be nice if you could give me the used service url's for these.(for example : http://192.168.1.140:3480/data_request?id=lu_action&DeviceNum=26&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=0 ).
in the meanwhile i made the plugins a separate file so later on one just needs to add the plugin dll for the plugin/device and it would use this for control the plugin/device in the remote itself. got a few graphicssystem bugs i have to solve first before releasing it.

How would I go about capturing those for you? Apologies on the unfamiliarity of Vera's ways. Too many years of HomeSeer and before that Mister House :)
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on November 05, 2013, 11:39:54 am
@garrettwp as allways thank you for your helpfull input . i use the page mentioned for the upnp structure allready but i need the services and stuff for the plugins and these are not there to be found
@betabob i could use the output you get from http://<Vera-IP>/port_3480/data_request?id=lu_invoke . click on the plugin device and copy/paste me the output for each plugin please :-)
Title: Re: Yu Vera Remote for windows (development stage)
Post by: garrettwp on November 05, 2013, 11:46:50 am
For some of the devices listed there in the link. For plugins, I log into apps.mios.com and download the plugin files and dissect them. Most of what you need will be in the implementation file.

- Garrett

Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on November 05, 2013, 12:29:06 pm
ah thnx ! that is an even better idea.
@betabob spare the time , i can get around with the stuff garrettwp mentioned.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: betabob on November 05, 2013, 12:35:34 pm
OK, appreciate all the hard work.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: mickesanda on February 09, 2014, 07:05:18 am
Looks very promising, a couple of things I noticed, the show/hide function does not function, t would be nice if swedish characters would show, ?, ?, ?, ?, ?, ?.
I own a windows 8.1 acer W-510 which is wall mounted. Unfortunately there are very few apps or programs that work and even fewer now that I upgraded to UI6.
This might just be what i need.
/Mike
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on May 04, 2014, 02:05:01 pm
i'll continu developing soon and see if i can make it work with UI6 too. i need some info about the new MMS system for auth. i had a lot of stuff going on in privatelife (dad died and privateproblems and work), but i do my best to finish this interface as i need it for my own 8.1 tab too ^^
you can put another lettertype in the settings xml so this might fix the foreign language issue in the latest build i have and i rebuild the core system, but it crashes on graphics sometimes so i didnt release it yet. try to change encoding might fix foreign characters issue too.
if u connect the prog locally it should work with all UI.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: dmckenna on May 07, 2014, 03:58:51 pm
Great start - really like the functional appeal to this - with none of the config settings. Clean and simple - perfect for a tablet mounted on a wall.

One thing that seems to be missing from the general Vera showcase is the ability to have a display of the Plan/map of your house and then drag/drop sensors lights etc onto the Plan/map. It appears that every tool takes the button/icon approach and users then put them into tabs which are called rooms.

As we live in a geographical house, I'm surprised that the devices can not be put in a geographical way on the tools - perhaps your one would be a first if this was simple to do - background is a user uploaded image and then icons can be put wherever as an overlay.

Great work
Title: Re: Yu Vera Remote for windows (development stage)
Post by: patelhe on June 09, 2014, 04:45:50 pm
Where do I download the Yu Vera Remote?
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on August 19, 2014, 10:42:55 pm
Great start - really like the functional appeal to this - with none of the config settings. Clean and simple - perfect for a tablet mounted on a wall.

One thing that seems to be missing from the general Vera showcase is the ability to have a display of the Plan/map of your house and then drag/drop sensors lights etc onto the Plan/map. It appears that every tool takes the button/icon approach and users then put them into tabs which are called rooms.

As we live in a geographical house, I'm surprised that the devices can not be put in a geographical way on the tools - perhaps your one would be a first if this was simple to do - background is a user uploaded image and then icons can be put wherever as an overlay.

Great work
thnx :-)
the thing is the vera works with devices/tiles/tabs, so to make it like a plan/map of ur house it requires a lot of additional coding to make that happen, i had to make my own code to make the graphicssystem working as this is not a build-in feature of visual-studio/windows. in theory it can be done, in reality it takes about a few dozen hours to make. you can change the whole look of the interface though and i have a newer version so that one can choose different themes, but that one has crashes and errors still, so i won't put these online yet. i wanted to make it so that you can just add plugin files for each non-common device like the fibaro rgbw and nest and such, but it is slowing down the program and response-time a lot. in the meanwhile the available version works ok and can be used locally for ui6 and ui7 as well, remote-acces doesnt work as i do not have the time to implement the new MMS login-code system needed. my dad died in april and i have about 1 hour spare time a week for myself left so it gonna take some time for me to work on this program. it is also not that easy to make it how i wanted it as the info needed for coding is scattered all over the place on mcv servers and it lacks proper documentation.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: Da_JoJo on August 19, 2014, 10:44:18 pm
Where do I download the Yu Vera Remote?
here https://www.houseofyu.nl/Yu_Vera_Remote.rar
Title: Re: Yu Vera Remote for windows (development stage)
Post by: BOFH on August 19, 2014, 11:30:07 pm
Just downloaded and ran it. Basic but functional and actually it's simplicity is a plus to me. I wonder if it runs on XPe? If so, I may just have found a use for an older Wyse Thin Client and a simple 15" touchscreen (tap only) I have laying around. :)
Title: Re: Yu Vera Remote for windows (development stage)
Post by: kiber111 on December 28, 2015, 04:17:09 am
use your program, but instead of Russian gibberish (gibberish) .. tell me where and what you can change to display normal Russian.
I understand the problem in the coding ..
many thanks.
Title: Re: Yu Vera Remote for windows (development stage)
Post by: JeffAvery on November 01, 2017, 10:41:30 am
Hello,

I just stumbled on this, and love it! Thank yo so much for the work on this. You may have moved on, the thread seems old, but I had a quick question. I'm running a VeraPlus with current firmware, and it all seems to work fine. The only thing I'm having trouble with his hiding some of the icons. I see the Right Click > Show/Hide but when I click that the next box is blank. I attached a screenshot, any thoughts? Thanks again

https://jeffavery.com/tv/showhide.jpg (https://jeffavery.com/tv/showhide.jpg)


-Jeff
Title: Re: Yu Vera Remote for windows (development stage)
Post by: oliwa on December 31, 2017, 10:04:31 am
ah ok, i see what i can do about the tabs.
recompiled code to visual studio 2012 now and going to release it as open source, so yes the code will eventually be released but not for the moment.
i'll get an update out as soon as i finished the rebuilding of the main code and some more plugin support. this will take some time and i have no idea yet how many.

edit:
uploaded new version with rgbw colorwheel, new switches, virtual switch and right upper corner tab-scroll left/right. use link above to download. seems armed/disarmed icon is not changing anymore.. i get that fixed> 16-9-2013 : its fixed > added new colorpicker 17:39

Is the source code available?