more G-Labs products

Author Topic: Windows Phone App beta  (Read 36148 times)

January 17, 2015, 04:10:35 PM
Read 36148 times

NicoVermeir

  • ****
  • Information
  • Sr. Member
  • Posts: 122
    • My blog
UPDATE: the app is live and public in the store!

What do you need to get into the beta:
- A Windows Phone 8.1 device
- A HomeGenie installation

What's working:
- Dimmers
- Switches
- Sensors
- Programs
- Live tiles for groups
- group and module pinning

What's not working:
- all the other device types

I'm working on adding the other modules. If there's one that you can't live without and really need, leave a reply here.

http://www.windowsphone.com/en-us/store/app/homegenie/3bc28510-739d-49cf-ab52-f88f7b7cd253

« Last Edit: March 14, 2015, 08:03:16 AM by NicoVermeir »

January 17, 2015, 06:04:05 PM
Reply #1

Wibo

  • ***
  • Information
  • Full Member
  • Posts: 95
Hi Nico,

Good news to hear, I'm planning to buy a Lumia 930 soon.
You can count me in for testing when I have it.

Regard,
Wibo.

January 17, 2015, 06:47:56 PM
Reply #2

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Hi Nico,
Good news.
Me too. Lumia 920.
Bye

January 17, 2015, 06:48:40 PM
Reply #3

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
Can we have some screenshots ?
And do you think it's difficult to port you design to android ?

Cheers
Dani

January 17, 2015, 06:54:35 PM
Reply #4

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431
Hi Nico,

I'd love to test it, I have a Lumia 1520 and a 520.

thanks, Marcel.

January 17, 2015, 06:56:54 PM
Reply #5

NicoVermeir

  • ****
  • Information
  • Sr. Member
  • Posts: 122
    • My blog
Can we have some screenshots ?
And do you think it's difficult to port you design to android ?

Cheers
Dani
porting it to android will require either a complete rewrite in xamarin or rebuilding the UI in Xamarin, something I'm thinking of doing after I finish the wp8 and win8 versions

January 17, 2015, 06:58:42 PM
Reply #6

NicoVermeir

  • ****
  • Information
  • Sr. Member
  • Posts: 122
    • My blog
mvdarend and Nolio, can you send me your microsoft account that you use on the phone in a private message? I'll invite you to the beta tomorrow.

Wibo, let me know once you have the 930, I'll send you an invite then.

January 18, 2015, 01:00:55 AM
Reply #7

chrispazz

  • **
  • Information
  • Jr. Member
  • Posts: 38

January 18, 2015, 01:42:15 AM
Reply #8

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Cool Nico  :),

no WP 8.1 here, but I'm curious so I may try from source code.

Cheers,
g.

January 18, 2015, 10:27:07 AM
Reply #9

NicoVermeir

  • ****
  • Information
  • Sr. Member
  • Posts: 122
    • My blog
thanks for the interest everyone! first batch of invites have gone out.

to the beta testers: feel free to discuss the app here, there are no secrets in the app ;)

January 18, 2015, 02:42:53 PM
Reply #10

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Hi Nico,
I just try your app on my :
  • HG instance (login/password activated and not the default port) : ko
  • HG test instance (no login/password activated and the default port 8080) : ok
In the first case, after press the save button, the app seems to bug (return to home screen).
Bye

January 18, 2015, 04:08:54 PM
Reply #11

NicoVermeir

  • ****
  • Information
  • Sr. Member
  • Posts: 122
    • My blog
Hi Nico,
I just try your app on my :
  • HG instance (login/password activated and not the default port) : ko
  • HG test instance (no login/password activated and the default port 8080) : ok
In the first case, after press the save button, the app seems to bug (return to home screen).
Bye
hmm haven't tried with another port, I'll have a look soon. thanks for reporting :)

January 18, 2015, 07:33:53 PM
Reply #12

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431
I've spent a few hours trying to reproduce a crash that occurs when opening a group, I think I've found the cause, but I can't work out the reason it crashes.

When opening my group 'Living room' the App crashes and returns to the Windows start page, at first I thought is was the Fibaro RGBW module, so I added that to another group, but that group still worked fine after adding it.

I then recreated the Living room group in a new group 'Test' it worked fine until I added Philips Hue module 13, it then crashed. After removing it, I could open the group again. Adding it to another group cause that group to crash when opening it.

There's nothing special about this module, none of the extra options are activated (Smart Lights, Level Memory etc.)

Edit I tried adding a watt value, but that didn't help
« Last Edit: January 18, 2015, 07:35:51 PM by mvdarend »

January 19, 2015, 08:20:42 PM
Reply #13

NicoVermeir

  • ****
  • Information
  • Sr. Member
  • Posts: 122
    • My blog
I've spent a few hours trying to reproduce a crash that occurs when opening a group, I think I've found the cause, but I can't work out the reason it crashes.

When opening my group 'Living room' the App crashes and returns to the Windows start page, at first I thought is was the Fibaro RGBW module, so I added that to another group, but that group still worked fine after adding it.

I then recreated the Living room group in a new group 'Test' it worked fine until I added Philips Hue module 13, it then crashed. After removing it, I could open the group again. Adding it to another group cause that group to crash when opening it.

There's nothing special about this module, none of the extra options are activated (Smart Lights, Level Memory etc.)

Edit I tried adding a watt value, but that didn't help
I don't have a philips hue myself (so thanks for testing that :))

do you by any chance know how to get the JSON that the api returns for that module so you could send that to me?

if you don't, I'll try to hack together a quick tool that can do that for you. If I have that data I'll be able to simulate the Hue

January 19, 2015, 08:38:03 PM
Reply #14

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431
Is this the JSON you need?

Lamp that crashes the HomeGenie APP
Code: [Select]
{
   "Name": "Ceiling",
   "Description": "",
   "DeviceType": "Dimmer",
   "Domain": "HomeAutomation.PhilipsHue",
   "Address": "13",
   "Properties": [
       {
           "Name": "HomeGenie.LevelMemory",
           "Description": "",
           "Value": "",
           "UpdateTime": "2015-01-18 18:43:07Z"
       },
       {
           "Name": "HomeGenie.LevelMemory.SimulateOnly",
           "Description": "",
           "Value": "",
           "UpdateTime": "2015-01-18 18:43:07Z"
       },
       {
           "Name": "HomeGenie.ScheduleControl",
           "Description": "",
           "Value": "",
           "UpdateTime": "2015-01-18 18:43:07Z"
       },
       {
           "Name": "HomeGenie.ScheduleOff",
           "Description": "",
           "Value": "",
           "UpdateTime": "2015-01-18 18:43:07Z"
       },
       {
           "Name": "HomeGenie.ScheduleOn",
           "Description": "",
           "Value": "",
           "UpdateTime": "2015-01-18 18:43:07Z"
       },
       {
           "Name": "HomeGenie.SmartLights.CheckLuminosity",
           "Description": "",
           "Value": "",
           "UpdateTime": "2015-01-18 18:43:07Z"
       },
       {
           "Name": "HomeGenie.SmartLights.Enable",
           "Description": "",
           "Value": "",
           "UpdateTime": "2015-01-18 18:43:07Z"
       },
       {
           "Name": "HomeGenie.SmartLights.OnMotionDetect",
           "Description": "",
           "Value": "",
           "UpdateTime": "2015-01-18 18:43:07Z"
       },
       {
           "Name": "HomeGenie.SmartLights.SwitchOffTimeout",
           "Description": "",
           "Value": "",
           "UpdateTime": "2015-01-18 18:43:07Z"
       },
       {
           "Name": "Meter.Watts",
           "Description": "",
           "Value": "0",
           "UpdateTime": "2015-01-19 19:28:22Z"
       },
       {
           "Name": "MobileNotification.SendChanges",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-05-09 19:07:06Z"
       },
       {
           "Name": "Pushalot.NotifyEvents",
           "Description": "",
           "Value": "",
           "UpdateTime": "2015-01-18 18:43:07Z"
       },
       {
           "Name": "Scenarios.SunriseColors",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-09-04 09:57:40Z"
       },
       {
           "Name": "Status.ColorHsb",
           "Description": "",
           "Value": "0, 0, .9",
           "UpdateTime": "2015-01-16 08:55:48Z"
       },
       {
           "Name": "Status.Level",
           "Description": "",
           "Value": "0",
           "UpdateTime": "2015-01-19 12:45:58Z"
       },
       {
           "Name": "VirtualMeter.Watts",
           "Description": "",
           "Value": "9",
           "UpdateTime": "2015-01-18 18:43:07Z"
       },
       {
           "Name": "VirtualModule.ParentId",
           "Description": "",
           "Value": "26",
           "UpdateTime": "2014-09-12 12:22:37Z"
       },
       {
           "Name": "Widget.DisplayModule",
           "Description": "",
           "Value": "homegenie/generic/colorlight",
           "UpdateTime": "2014-09-07 13:33:31Z"
       }   ],
   "RoutingNode": ""
},


And for reference, another lamp that doesn't cause a crash.
Code: [Select]
{
   "Name": "Television",
   "Description": "",
   "DeviceType": "Dimmer",
   "Domain": "HomeAutomation.PhilipsHue",
   "Address": "18",
   "Properties": [
       {
           "Name": "HomeGenie.LevelMemory",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-10-24 10:36:38Z"
       },
       {
           "Name": "HomeGenie.LevelMemory.SimulateOnly",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-10-24 10:36:38Z"
       },
       {
           "Name": "HomeGenie.ScheduleControl",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-10-24 10:36:38Z"
       },
       {
           "Name": "HomeGenie.ScheduleOff",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-10-24 10:36:38Z"
       },
       {
           "Name": "HomeGenie.ScheduleOn",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-10-24 10:36:38Z"
       },
       {
           "Name": "HomeGenie.SecurityAlarm",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-10-24 10:36:38Z"
       },
       {
           "Name": "HomeGenie.SmartLights.CheckLuminosity",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-10-24 10:36:38Z"
       },
       {
           "Name": "HomeGenie.SmartLights.Enable",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-10-24 10:36:38Z"
       },
       {
           "Name": "HomeGenie.SmartLights.OnMotionDetect",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-10-24 10:36:38Z"
       },
       {
           "Name": "HomeGenie.SmartLights.SwitchOffTimeout",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-10-24 10:36:38Z"
       },
       {
           "Name": "Meter.Watts",
           "Description": "",
           "Value": "7.2",
           "UpdateTime": "2015-01-19 19:28:22Z"
       },
       {
           "Name": "Scenarios.SunriseColors",
           "Description": "",
           "Value": "",
           "UpdateTime": "2014-08-31 08:50:04Z"
       },
       {
           "Name": "Status.ColorHsb",
           "Description": "",
           "Value": "0.23393,.4763,.8",
           "UpdateTime": "2015-01-19 18:09:00Z"
       },
       {
           "Name": "Status.ColorXY",
           "Description": "",
           "Value": "0.6796039,0.3042245",
           "UpdateTime": "2015-01-16 08:55:48Z"
       },
       {
           "Name": "Status.Level",
           "Description": "",
           "Value": "0.8",
           "UpdateTime": "2015-01-19 18:09:00Z"
       },
       {
           "Name": "VirtualMeter.Watts",
           "Description": "",
           "Value": "9",
           "UpdateTime": "2015-01-16 08:55:48Z"
       },
       {
           "Name": "VirtualModule.ParentId",
           "Description": "",
           "Value": "26",
           "UpdateTime": "2014-09-12 12:22:37Z"
       },
       {
           "Name": "Widget.DisplayModule",
           "Description": "",
           "Value": "homegenie/generic/colorlight",
           "UpdateTime": "2014-09-07 13:33:31Z"
       }   ],
   "RoutingNode": ""
},