HomeGenie Forum

General Category => General Discussion => Topic started by: NicoVermeir on January 17, 2015, 04:10:35 PM

Title: Windows Phone App beta
Post by: NicoVermeir on January 17, 2015, 04:10:35 PM
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 (http://www.windowsphone.com/en-us/store/app/homegenie/3bc28510-739d-49cf-ab52-f88f7b7cd253)

Title: Re: Windows Phone App beta
Post by: Wibo on January 17, 2015, 06:04:05 PM
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.
Title: Re: Windows Phone App beta
Post by: nolio on January 17, 2015, 06:47:56 PM
Hi Nico,
Good news.
Me too. Lumia 920.
Bye
Title: Re: Windows Phone App beta
Post by: dani on January 17, 2015, 06:48:40 PM
Can we have some screenshots ?
And do you think it's difficult to port you design to android ?

Cheers
Dani
Title: Re: Windows Phone App beta
Post by: mvdarend on January 17, 2015, 06:54:35 PM
Hi Nico,

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

thanks, Marcel.
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 17, 2015, 06:56:54 PM
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
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 17, 2015, 06:58:42 PM
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.
Title: Re: Windows Phone App beta
Post by: chrispazz on January 18, 2015, 01:00:55 AM
Nokia 925 nere ;)
Title: Re: Windows Phone App beta
Post by: Gene on January 18, 2015, 01:42:15 AM
Cool Nico  :),

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

Cheers,
g.
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 18, 2015, 10:27:07 AM
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 ;)
Title: Re: Windows Phone App beta
Post by: nolio on January 18, 2015, 02:42:53 PM
Hi Nico,
I just try your app on my :
In the first case, after press the save button, the app seems to bug (return to home screen).
Bye
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 18, 2015, 04:08:54 PM
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 :)
Title: Re: Windows Phone App beta
Post by: mvdarend on January 18, 2015, 07:33:53 PM
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
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 19, 2015, 08:20:42 PM
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
Title: Re: Windows Phone App beta
Post by: mvdarend on January 19, 2015, 08:38:03 PM
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": ""
},
Title: Re: Windows Phone App beta
Post by: mvdarend on January 19, 2015, 09:05:39 PM
A couple of ideas for the design/layout of the controls.

It would be great if you could use the Widget.DisplayIcon value to show a custom icon.

And I'd love more control/information directly on the widget itself, I don't know if it's possible, but I've added a simple mock-up of something I'd like. (I'm not a designer though, hopefully someone can take my idea an make something nice of it.)

(I've faded out the current widgets to highlight my idea.)
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 20, 2015, 11:30:27 AM
Is this the JSON you need?
perfect! thanks!
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 20, 2015, 11:32:34 AM
A couple of ideas for the design/layout of the controls.
should be possible, I especially like the sensor info. not too sure about the buttons on the dimmer (would be hard to go to module details instead of hitting the on/off switch and vice versa, especially on smaller devices). will do some trial tests
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 20, 2015, 02:25:59 PM
Is this the JSON you need?
FYI: found the problem, I'll try to fix it tonight and push an update
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 20, 2015, 11:47:54 PM
pushed an update that fixed the Philips Hue problem, should be live in about 2 hours. could you verify that it works?
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 21, 2015, 12:42:56 PM
pushed new update

- fixes port bug
- add support for shutters, temperature sensors

should be live in about 2 hours
Title: Re: Windows Phone App beta
Post by: mvdarend on January 21, 2015, 05:45:11 PM
pushed an update that fixed the Philips Hue problem, should be live in about 2 hours. could you verify that it works?
Yes, opening the group with that Module doesn't cause the app to crash any more.
Title: Re: Windows Phone App beta
Post by: enterprised on January 22, 2015, 03:30:36 AM
Happy to try it on my "HTC One M8" Windows 8.1 phone if you let me
Title: Re: Windows Phone App beta
Post by: nolio on January 22, 2015, 06:18:48 AM
Hi,
I try again after update, the app still crash.
I will try to study the issue ...
Bye
Title: Re: Windows Phone App beta
Post by: gcoupe on January 22, 2015, 03:47:40 PM
Hallo, I'd be interested in trying out the beta. I have a Lumia 1020 running WP 8.1. Bear in mind that I'm just a simple user trying out HomeGenie as well, so if that would be of use, then I'm happy to try and help test.
Title: Re: Windows Phone App beta
Post by: nolio on January 22, 2015, 10:55:05 PM
Hi,
I take a look in my HG log and no request come from my windows phone.
Perhaps something missing in the code ... I try to take a quick look, but i didn't find.
Bye
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 23, 2015, 08:37:08 AM
- what is the ip address you enter in the app?
- are you sure that the user and password are correct?

you're the only one reporting this so I'm not sure if the problem is in code
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 23, 2015, 08:38:35 AM
Hallo, I'd be interested in trying out the beta. I have a Lumia 1020 running WP 8.1. Bear in mind that I'm just a simple user trying out HomeGenie as well, so if that would be of use, then I'm happy to try and help test.
the more the merrier, send me your MS account in a private message and I'll add you. do keep in mind that you won't receive an invite until I push the next update (limitation of the WP beta program)
Title: Re: Windows Phone App beta
Post by: nolio on January 23, 2015, 12:16:14 PM
- what is the ip address you enter in the app?
- are you sure that the user and password are correct?

you're the only one reporting this so I'm not sure if the problem is in code
I have exactly the same parameter in "old" HG app (and it work) and your new HG app.
But i try for Server : 10.x.x.x / @IP public / Nom DNS public/private and for port i have 5 digits (xxxxx).

In Server : 10.x.x.x:xxxxx
Title: Re: Windows Phone App beta
Post by: James on January 24, 2015, 01:05:44 AM
Hi Nico,

I would like to join the Beta I have a Nokia 920 with 8.1

thanks
Title: Re: Windows Phone App beta
Post by: nolio on January 24, 2015, 02:06:30 PM
- what is the ip address you enter in the app?
- are you sure that the user and password are correct?

you're the only one reporting this so I'm not sure if the problem is in code
I do some other test :
And the Username and Password are set on the app in this 2 cases. So it seems that this 2 parameters aren't use ...
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 24, 2015, 06:20:43 PM
- what is the ip address you enter in the app?
- are you sure that the user and password are correct?

you're the only one reporting this so I'm not sure if the problem is in code
I do some other test :
  • HG with 5 digit port without password = ok
  • HG with 5 digit port with password = ko
And the Username and Password are set on the app in this 2 cases. So it seems that this 2 parameters aren't use ...

hmm ok, thx for testing. I'll try some stuff out with username / password
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 27, 2015, 03:43:55 PM
just a quick heads up on what I'm working on,

I'm currently implementing notifications (bit of work, changed a lot from WP8.0) once that's done, I'll have a look at the username / password problem reported here. If I get that fixed I'll release a new update.

in the meantime, does anyone have a module that is not supported by the app or that is missing features? I only have a multisensor, switch and dimmer to test with at the moment, so feedback on other modules is well appreciated :)
Title: Re: Windows Phone App beta
Post by: Wibo on January 28, 2015, 12:20:18 AM
Hi Nico,

I'm using a hgx that's written to be in the automation/RaspberryPi.
I use it to test the mqtt communication.
It's totally hardware independent.
It can generate events for 1-4 generic "Sensor.Temperature"

This hgx will give you a lot of trouble if you enable MQTT, if you don't it works.

Regards,
Wibo.
Title: Re: Windows Phone App beta
Post by: NicoVermeir on January 31, 2015, 10:41:33 AM
submitted a new version to the store that should fix the login problem, still working on notifications.

also: everyone who send me their MS account since the last version is now included as beta tester and should have received an email from me with the app link.

new version should be live in a few hours
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 01, 2015, 11:04:11 AM
Gene, quick question concerning push notifications: looks like the universal apps don't support the old MPNS way of sending push notifications (the ones used in HomeGenie). any chance that you could update the push notification system to using WNS?

question to everyone else: what functionality would you like to see enabled through Cortana? (and what command would you like to be able to say)
Title: Re: Windows Phone App beta
Post by: Gene on February 01, 2015, 12:37:33 PM
Hi Nico,

it's long since I am not looking at WP development, so also dunno what WNS is about  ;D I should have to study. So if you already know the topic, you might be faster in implementing it.
Just one suggestion about using voice recognition in HG client: take a look at how the android app implement the recognition

https://github.com/genielabs/HomeGenie-Android/blob/master/HomeGenieAndroid/HomeGenie/src/com/glabs/homegenie/util/VoiceControl.java

Cheers,
g.
Title: Re: Windows Phone App beta
Post by: mvdarend on February 01, 2015, 01:22:37 PM
Got the update early this morning, looking really good, thanks for all the effort Nico.

A couple of things I've noticed:

- I need to manually reconnect every time the App starts. (if it is no longer running in the background.)
- Color picker for the lights is nice. I'd prefer it if you could just pick the color without having to confirm it with the 'OK' (tick) icon. Actually, it would be even better if you didn't have to click on the 'Select color' button, but to have the color picker directly available.

Not sure about Cortana support, I like the idea of using voice commands, but it's still something I hardly ever use...
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 01, 2015, 01:50:21 PM
Hi Nico,

it's long since I am not looking at WP development, so also dunno what WNS is about  ;D I should have to study. So if you already know the topic, you might be faster in implementing it.
Just one suggestion about using voice recognition in HG client: take a look at how the android app implement the recognition

https://github.com/genielabs/HomeGenie-Android/blob/master/HomeGenieAndroid/HomeGenie/src/com/glabs/homegenie/util/VoiceControl.java

Cheers,
g.
well, wns is push notifications, server side. if you can tell me where to look in HG for the push stuff, I could have a look
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 01, 2015, 01:52:40 PM
Got the update early this morning, looking really good, thanks for all the effort Nico.

A couple of things I've noticed:

- I need to manually reconnect every time the App starts. (if it is no longer running in the background.)
- Color picker for the lights is nice. I'd prefer it if you could just pick the color without having to confirm it with the 'OK' (tick) icon. Actually, it would be even better if you didn't have to click on the 'Select color' button, but to have the color picker directly available.

Not sure about Cortana support, I like the idea of using voice commands, but it's still something I hardly ever use...

good feedback, I'll see what I can do :)

as for the reconnecting, are you using default username, password and port or is something custom in your setup?

the app navigates to the connectionpage if contacting the server fails. my first guess would be that one of those custom settings is not saved or loaded correctly and that's why the connection fails
Title: Re: Windows Phone App beta
Post by: mvdarend on February 01, 2015, 03:31:33 PM
Quote
as for the reconnecting, are you using default username, password and port or is something custom in your setup?
Yes, default username, password and port. (IP address is 192.168.0.30)

Attached you can see what the HomeGenie App looks like when I open it, (Left the Home screen, right when opening a group)

After clicking Settings -> Save I see what I expect, see second Image.
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 01, 2015, 04:55:48 PM
have you tried just restarting the app? I've encountered the same issue in the emulator before, not yet on my actual device so I'm a bit in the dark here.

what device are you using?
Title: Re: Windows Phone App beta
Post by: Gene on February 01, 2015, 05:28:29 PM
the notification push is implemented as an automation program. You find it in Automation->Messaging and Social as "Windows Phone Push Notification Service".

g.
Title: Re: Windows Phone App beta
Post by: mvdarend on February 01, 2015, 05:53:48 PM
have you tried just restarting the app? I've encountered the same issue in the emulator before, not yet on my actual device so I'm a bit in the dark here.

what device are you using?
I hadn't tried it before, just tried the following:

 - Open App - no info - close app with back button - open again - still no info
 - Open App - no info - closed app bij pressing Windows button - open again - still no info
 - Open App - long hold back button - kill app - open again - no info
 - Open App - no info - open group and press refresh button - back - still no info

All steps repeated a few times on a Lumia 1520. The only thing that seems to help is clicking options -> save
Title: Re: Windows Phone App beta
Post by: enterprised on February 01, 2015, 07:16:29 PM
I have exact the same issue as mvdarend, It is 100% repeatable as he described.
I'm using it on a HTC One M8. Tried it both on LAN and WAN, did not make a difference.
Title: Re: Windows Phone App beta
Post by: nolio on February 01, 2015, 09:02:51 PM
Hi,

I try with the new app version. I can connect and see my HG group with my login/password, good !

But in my groups, the devices appear with blank object, just square grey.
By clinking on one, my shutter open .. ;)
I test with different types of devices : Shutter, Light, Motion Sensor, Door detector, Weather underground ... And all of them are square grey.

Test whith a Nokia Lumia 920 on Windows Phone 8.1.

Bye
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 02, 2015, 09:30:26 AM
to anyone with the blank modules issue: could you try pinning a group to the start screen and starting the app from there? just want to check if the issue occurs from there as well
Title: Re: Windows Phone App beta
Post by: nolio on February 02, 2015, 09:47:28 AM
I try and that change a little bit = on the grey square, i have the name of my devices but :

It could by nice to change the pic by a personalized pic (for example a pic of your house :)).
Title: Re: Windows Phone App beta
Post by: mvdarend on February 02, 2015, 11:39:58 AM
to anyone with the blank modules issue: could you try pinning a group to the start screen and starting the app from there? just want to check if the issue occurs from there as well
I'm at work at the moment so I'm connecting to home via a VPN (not sure if that affects the testing.)

- Opened the App - all modules empty, opened the group Dashboard - empty tiles.
- Pinned group Dashboard to start screen.
- Opened the pinned 'Dashboard' tile, tiles are now populated! and work OK :)
- Press the 'back' button to go back to the groups list. Groups list not showing details, opening a group shows 'empty' tiles (same as in screenshots in my earlier posts.)


Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 02, 2015, 01:14:14 PM
to anyone with the blank modules issue: could you try pinning a group to the start screen and starting the app from there? just want to check if the issue occurs from there as well
I'm at work at the moment so I'm connecting to home via a VPN (not sure if that affects the testing.)

- Opened the App - all modules empty, opened the group Dashboard - empty tiles.
- Pinned group Dashboard to start screen.
- Opened the pinned 'Dashboard' tile, tiles are now populated! and work OK :)
- Press the 'back' button to go back to the groups list. Groups list not showing details, opening a group shows 'empty' tiles (same as in screenshots in my earlier posts.)

okay good, I usually launch the app from a pinned group on my device. I'll do some testing tomorrow (will be home late tonight, so no time :))
Title: Re: Windows Phone App beta
Post by: enterprised on February 03, 2015, 02:51:56 AM
HG on RPi 1 = Main
HG on RP2 = Slave (interconnected to main)
Both  RPi's have switches/lights and sensors connected

I observed the following weird behavior, using the Beta version of your app i can see on the various pages/dashboards:
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 04, 2015, 09:49:22 PM
new version published and I do believe I fixed the loading issue!
also, we can pin modules to the start screen now (no live tile yet)
Title: Re: Windows Phone App beta
Post by: enterprised on February 05, 2015, 04:43:45 AM
With your latest update the app start quicker and without having to go into config first.

I still have the weird problem described in my previous post about switches not showing.
Title: Re: Windows Phone App beta
Post by: mvdarend on February 05, 2015, 07:33:18 AM
Thanks Nico, the loading issue is fixed.

Also thanks for moving the color picker to the 'main' light screen.

I haven't had time to test anything else, I noticed something weird with my kitchen lights the other day though, I'll try to reproduce it this evening.
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 05, 2015, 09:23:43 AM
I still have the weird problem described in my previous post about switches not showing.
That one's a bit hard to reproduce as I only have 1 HG installation. but I'll see what I can do. It could help if you could get me the JSON HG returns when fetching the modules

Also thanks for moving the color picker to the 'main' light screen.
oh right, I forgot about that :D can you confirm that it works okay? I don't have any color lights myself
Title: Re: Windows Phone App beta
Post by: nolio on February 05, 2015, 09:57:00 PM
I try the new version. On the home  screen, i can see all my group and a summarize of some information.
But in the group, i still have grey square only with the name of the device. And like enterprised, it don't show any switch.
See my screenshot.
Title: Re: Windows Phone App beta
Post by: mvdarend on February 06, 2015, 07:53:32 AM
Quote
oh right, I forgot about that :D can you confirm that it works okay? I don't have any color lights myself
I hadn't tested it yesterday, only saw the color picker. But unfortunately it doesn't work...:(

- Using color picker with the light on -> no change (switching light off/on doesn't help)
- Using color picker with light off and then turning it on -> doesn't take the selected color
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 07, 2015, 03:59:48 PM
I try the new version. On the home  screen, i can see all my group and a summarize of some information.
But in the group, i still have grey square only with the name of the device. And like enterprised, it don't show any switch.
See my screenshot.

what type modules are those?
Title: Re: Windows Phone App beta
Post by: nolio on February 07, 2015, 04:47:52 PM
I try the new version. On the home  screen, i can see all my group and a summarize of some information.
But in the group, i still have grey square only with the name of the device. And like enterprised, it don't show any switch.
See my screenshot.

what type modules are those?

No Luck (all grey square) with any of them.
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 09, 2015, 09:33:55 AM
I try the new version. On the home  screen, i can see all my group and a summarize of some information.
But in the group, i still have grey square only with the name of the device. And like enterprised, it don't show any switch.
See my screenshot.


what type modules are those?

  • motion sensor (aeon labs/fibaro)
  • sirene
  • webcam
  • switch
  • door/window
  • shutter

No Luck (all grey square) with any of them.

would you mind sending me the data that the api returns to you? this way I can simulate your environment.

I created a quick little application that exports the api result. You can find it here
http://1drv.ms/1ERL2lu (http://1drv.ms/1ERL2lu)

- Extract the zip file, run HGDataFetcher.exe
- enter your connection details, click connect
- select the group that contains the modules
- click export
- save the file
- mail it to me or attach it here on the forum

The application generates a pure export of the api, if there is any data in there that you don't want me to see feel free to replace it with dummy data but don't delete anything in the file please
Title: Re: Windows Phone App beta
Post by: beller on February 16, 2015, 11:39:26 PM

sorry, can this app run in a windows 8.1 tablet?

Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 17, 2015, 11:03:11 AM
this one doesn't
but this one will :)
http://www.homegenie.it/forum/index.php?topic=725.0 (http://www.homegenie.it/forum/index.php?topic=725.0)
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 20, 2015, 07:41:27 PM
submitted new version

- should fix the image problem nolio was having
- removed the splash screen at app launch. I personally like this better, but feel free to report if you want the splashscreen back
Title: Re: Windows Phone App beta
Post by: nolio on February 22, 2015, 04:40:20 AM
Hi Nico,

I try the new version, the module are still square grey with their name.
But it seem that all appear now.

Bye
Title: Re: Windows Phone App beta
Post by: enterprised on February 22, 2015, 05:08:32 AM
big improvement, I get all my modules now.
Title: Re: Windows Phone App beta
Post by: CptJack on February 22, 2015, 09:04:09 PM
I'd love to get in on the beta. My primary phone is a 1520, but I also have a 620, 635, 920, and 8xt. I'm thinking of putting 10 on the 635.
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 23, 2015, 08:28:01 AM
I'd love to get in on the beta. My primary phone is a 1520, but I also have a 620, 635, 920, and 8xt. I'm thinking of putting 10 on the 635.
sent your MS account that you use on your phone in a private message, you'll get included in the beta on next update :)
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 23, 2015, 08:29:19 AM
Hi Nico,

I try the new version, the module are still square grey with their name.
But it seem that all appear now.

Bye
this is weird.. I used your export, so I basically simulated your environment, and everything worked..
do you have any custom icons for your modules or modified anything elsel? running latest homegenie version?
Title: Re: Windows Phone App beta
Post by: swaner on February 23, 2015, 09:22:04 AM
Same here, all modules appear but still a gray box with their name.
Also the on/off switch is positioned a bit far to the right(outside the screen). Lumia 1020.

Otherwise great work, the application is really fast and responsive.
Title: Re: Windows Phone App beta
Post by: nolio on February 23, 2015, 10:36:06 AM
do you have any custom icons for your modules or modified anything elsel?
No, the default one ...
running latest homegenie version?
The latest one (r478)
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 23, 2015, 01:42:27 PM
about the icons not appearing: are you connected to homegenie on a local network or via internet?
Title: Re: Windows Phone App beta
Post by: nolio on February 23, 2015, 08:48:06 PM
about the icons not appearing: are you connected to homegenie on a local network or via internet?
In this 2 cases ...
Title: Re: Windows Phone App beta
Post by: ocalvo on February 23, 2015, 11:58:33 PM
Please add me to the beta.
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 26, 2015, 03:51:12 PM
next version will be public beta, so no need to send any MS accounts anymore. I'll post the link here when it's published. But I'm going to look deeper into the icons issue before releasing next version
Title: Re: Windows Phone App beta
Post by: enterprised on February 26, 2015, 07:29:10 PM
I'm currently travelling for business and tried the app from 5000 miles away from home. If I have a good connection with my phone all icons appear normal and the app works as expected. If I have a poor connection then the icons all turn gray. Looks like the gray icon syndrome may be related to the quality of the phone/internet connection. 
Title: Re: Windows Phone App beta
Post by: NicoVermeir on February 27, 2015, 08:23:05 AM
I'm currently travelling for business and tried the app from 5000 miles away from home. If I have a good connection with my phone all icons appear normal and the app works as expected. If I have a poor connection then the icons all turn gray. Looks like the gray icon syndrome may be related to the quality of the phone/internet connection.
hmm okay, can anyone confirm that they're seeing the same behavior?
also, even without the icons, do the modules work?
Title: Re: Windows Phone App beta
Post by: NicoVermeir on March 03, 2015, 04:03:24 PM
the modules with the missing icons, are they z-wave modules or something else?
Title: Re: Windows Phone App beta
Post by: nolio on March 03, 2015, 09:32:53 PM
All my system use zwave, but i have simple module too like :
I try on my "HG server test" and the Security Alarm System show correctly. This test environnement is without login/password.
But i can't use the icon to set/unset alarm.
Title: Re: Windows Phone App beta
Post by: NicoVermeir on March 06, 2015, 01:41:40 PM
But i can't use the icon to set/unset alarm.
that's not implemented yet, so that's normal.
Title: Re: Windows Phone App beta
Post by: enterprised on March 07, 2015, 01:41:58 AM
Back in town. Whenever I had a poor connection all icons stayed gray for a very long time, eventually after 2 to 3 minutes they would show up. First I was not that patient and gave up before the icons showed. Whenever I had a good connection all icons showed quickly and program performed as expected.
Title: Re: Windows Phone App beta
Post by: NicoVermeir on March 07, 2015, 10:13:31 AM
so, I finally got around to replicating the no icons issue. turns out that if HG is configured to use a password, even the icons are password protected. tbh, this feels like a bug in HG to me.

Gene, anything you can do on HG side?
Title: Re: Windows Phone App beta
Post by: Gene on March 07, 2015, 12:20:48 PM
How are you downloading images? If you're downloading them from code, see this:

https://github.com/genielabs/HomeGenie-SmartControl/blob/master/HomeGenie-Net-ClientLib/Utility.cs#L43

Cheers,
g.
Title: Re: Windows Phone App beta
Post by: NicoVermeir on March 07, 2015, 01:21:02 PM
How are you downloading images? If you're downloading them from code, see this:

https://github.com/genielabs/HomeGenie-SmartControl/blob/master/HomeGenie-Net-ClientLib/Utility.cs#L43

Cheers,
g.
I'm not actually downloading them manually, just assigning imagesource to the url. I'll have a look at that code, thx :)
Title: Re: Windows Phone App beta
Post by: NicoVermeir on March 13, 2015, 06:34:53 PM
good news!

fixed the image problem! also, as promised, the invite-only beta has ended and has been unpublished. Huge thanks to all testers!

The new app has been submitted to the store, if all goes well it should pass certification pretty soon and I'll post the link here.

next step: working to get all modules up and running and continuing work on the big Windows version
Title: Re: Windows Phone App beta
Post by: NicoVermeir on March 14, 2015, 08:03:42 AM
updated the first post in this thread with the app link

http://www.windowsphone.com/en-us/store/app/homegenie/3bc28510-739d-49cf-ab52-f88f7b7cd253 (http://www.windowsphone.com/en-us/store/app/homegenie/3bc28510-739d-49cf-ab52-f88f7b7cd253)
Title: Re: Windows Phone App beta
Post by: nolio on March 14, 2015, 08:30:51 PM
Yes the icons appear  !
Title: Re: Windows Phone App beta
Post by: Britton on May 18, 2015, 12:39:17 AM
I just downloaded the ap from the Windows Phone store.  Have the Lumia 928 with 8.1 upgrade.  The only modules installed are 2 Z Wave devices.

Have the following problems:

Switch works OK but the switch icon does not toggle.

Light dimmer does not work for dimming or on/off.

Weather Underground does not show up.


All of the above problems did not happen with the old phone ap.  :(

Title: Re: Windows Phone App beta
Post by: nolio on May 18, 2015, 03:00:33 PM
I just downloaded the ap from the Windows Phone store.  Have the Lumia 928 with 8.1 upgrade.  The only modules installed are 2 Z Wave devices.

Have the following problems:
Switch works OK but the switch icon does not toggle.
Light dimmer does not work for dimming or on/off.
Weather Underground does not show up.
All of the above problems did not happen with the old phone ap.  :(
That why, i still use the old app for now (and i can't too see the status of my motion device on this app) ....
Title: Re: Windows Phone App beta
Post by: NicoVermeir on June 07, 2015, 09:21:36 AM
hi guys, sorry for not replying for a while, have been crazy busy preparing for the local win10 launch (helping MS out with local events, doing online webcasts and so on)

as for the mentioned problems:

- the toggling seems to work sometimes, need to investigate
- light dimmer is working for me, is it not working at all or does it have another problem?
- weather underground: that's by design (for now) looking to build a generic widget that can show these kind of data

as for the other modules: I still only own a multisensor and a light dimmer. is there anyone with C# knowledge and other modules that can help me out with testing and pinpointing bugs in the modules?
Title: Re: Windows Phone App beta
Post by: amselem on June 26, 2015, 09:33:08 PM
Hi Nico, thank you for creating this promising great app  :)
Do you plan to add support for the generic ip camera module?
Regards
Jacobo
Title: Re: Windows Phone App beta
Post by: NicoVermeir on July 04, 2015, 11:42:34 AM
Hi Nico, thank you for creating this promising great app  :)
Do you plan to add support for the generic ip camera module?
Regards
Jacobo
I plan to add support for all modules :)
the problem is that I don't own all modules so it's hard to test. I'll probably get a raspberry pi camera soon, I suppose that'll work with the camera module