Domoticz App for Windows 10 UWP

Sneezydevil
Posts: 126
Joined: Monday 18 January 2016 10:56
Target OS: Raspberry Pi
Domoticz version:
Contact:

Domoticz App for Windows 10 UWP

Post by Sneezydevil » Monday 18 January 2016 11:32

Hello All,

I am new to Domoticz and wanted to control Domoticz using "Hey Cortana". "Hey Cortana" is a feature added to Cortana in Windows 10, which allows Cortana to be always on. Since I could not find a Windows 10 App to use with Domoticz I created one for my personal use.

However, it turned out more people were interested in a Windows 10 App, so I decided to upload it to the store, and make it available for free.

I still need to add a lot of features, switch types, sensors and other stuff which is currently available in Domotcz.

Some Details:
Latest Version: 1.1.7.0
Status: Beta (But pretty stable)
Languages: English (Mostly since Cortana is not available in Dutch)
Tested Platforms: Windows 10 64Bit/32Bit, Windows 10 Mobile 32bit emulator, Windows 10 Mobile ARM (Several Lumia phones)
Features: Dashboard, Switches, Sensors, Rooms, Scenes and Groups.
Url: https://www.microsoft.com/store/apps/9NBLGGH5KP6P

Issues:

https://github.com/Sneezydevil/MyHomeAutomation/issues


If you test the app and run into problems or a crash, a report with the following info would be nice:

Platform: Windows 10 64Bit / Windows 10 32Bit / Windows 10 Mobile
Action: What were you doing when the App crashed?
Last edited by Sneezydevil on Saturday 30 January 2016 21:38, edited 4 times in total.

User avatar
TazDevl
Posts: 17
Joined: Friday 04 September 2015 10:29
Target OS: Raspberry Pi
Domoticz version: NewBeta
Contact:

Re: Domoticz App for Windows 10 UWP

Post by TazDevl » Tuesday 19 January 2016 15:09

Ohh! Think i found a reason to buy a Rpi2 :)

Sneezydevil
Posts: 126
Joined: Monday 18 January 2016 10:56
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Sneezydevil » Tuesday 19 January 2016 16:48

To run the App on you mean?

Will that work?

Aadr
Posts: 13
Joined: Tuesday 09 June 2015 21:26
Target OS: Windows
Domoticz version: V2.2536
Location: The Nederlands
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Aadr » Tuesday 19 January 2016 18:09

Very Nice
I like this app very much. I shall use it as much as i can en report my findings.

-on my win 10 laptop the rooms-tab doesn't work.
- and sometimes the app crashes at startup.

ik hope i can be at help, unfortunately i am not skilled in programming.

Sneezydevil
Posts: 126
Joined: Monday 18 January 2016 10:56
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Sneezydevil » Tuesday 19 January 2016 19:08

Does the room tab work after pressing the Load Devices button on the Devices tab?

The Crashing on startup I have not seen yet, I will look into it.

//Edit

I added the Github issue list to the Starting Post.

More and more code will be on there aswell, for now its just logo's and language files.

Aadr
Posts: 13
Joined: Tuesday 09 June 2015 21:26
Target OS: Windows
Domoticz version: V2.2536
Location: The Nederlands
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Aadr » Tuesday 19 January 2016 21:47

The room tab did work only once after install. I just did a fresh re-install and this time it kept working.

Do you have plans to add buttons for the Utility devices?

Sneezydevil
Posts: 126
Joined: Monday 18 January 2016 10:56
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Sneezydevil » Tuesday 19 January 2016 22:56

Utilities and Weather are on my todo list. At the moment I'm doing smaller updates during the week, leaving the bigger stuff for the weekend.

I'm hoping to start with the utilities this weekend.

I only started using domoticz a short while ago so I'm still learning new things every day.

//Edit

Oh and if you any switches you use a lot let me know so I can prioritize better.

niki_lauda
Posts: 129
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

Re: Domoticz App for Windows 10 UWP

Post by niki_lauda » Wednesday 20 January 2016 17:41

Nice!

Will test this !

niki_lauda
Posts: 129
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

Re: Domoticz App for Windows 10 UWP

Post by niki_lauda » Wednesday 20 January 2016 17:55

Aadr wrote:Very Nice
I like this app very much. I shall use it as much as i can en report my findings.

-on my win 10 laptop the rooms-tab doesn't work.
- and sometimes the app crashes at startup.

ik hope i can be at help, unfortunately i am not skilled in programming.
At startup crash I didn't notice. The rooms tab functions in my W10 laptop.

I noticed crashes just by clicking on the menu tabs. I changed the refresh rate to 1 second and crashed more frequently

Sneezydevil
Posts: 126
Joined: Monday 18 January 2016 10:56
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Sneezydevil » Wednesday 20 January 2016 18:53

niki_lauda wrote:
Aadr wrote:Very Nice
I like this app very much. I shall use it as much as i can en report my findings.

-on my win 10 laptop the rooms-tab doesn't work.
- and sometimes the app crashes at startup.

ik hope i can be at help, unfortunately i am not skilled in programming.
At startup crash I didn't notice. The rooms tab functions in my W10 laptop.

I noticed crashes just by clicking on the menu tabs. I changed the refresh rate to 1 second and crashed more frequently
I hope to have a fix for this soon, not the next release, but probably the release after that.

The probleem seems to occur when it tries to refresh but is already refreshing. So a refresh rate of 1 will indeed result in a highter change of this happening.

I currently refresh when a page is opened and then whenever the timmer reaches the set limit.

I will let you know when I think I fixed it, its very hard to test on my system even with a refresh rate of 1 since I dont have alot of items in Domoticz yet.

jackslayter
Posts: 226
Joined: Tuesday 07 October 2014 11:00
Target OS: Raspberry Pi
Domoticz version: LastBeta
Location: France RA
Contact:

Re: Domoticz App for Windows 10 UWP

Post by jackslayter » Thursday 21 January 2016 9:14

Hi, I install this app on W10 x64 on Onda V820W.
I configure parameters in local LAN , my port is different of 8080, remove SSL and I don't have anything on tab.
My Dz server is on RPi2 with NGNIX.
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461

Sneezydevil
Posts: 126
Joined: Monday 18 January 2016 10:56
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Sneezydevil » Thursday 21 January 2016 9:22

jackslayter wrote:Hi, I install this app on W10 x64 on Onda V820W.
I configure parameters in local LAN , my port is different of 8080, remove SSL and I don't have anything on tab.
My Dz server is on RPi2 with NGNIX.
Just to be sure you pressed the "Load Devices" button on the Devices tab?

I currently test the connection to the server when you press that button. I'm planning to add a "Test Connection" button to the Settings page.

If you pressed that button my first guess would be NGINX handling something differently then Domoticz itself. Are you using authentication?

jackslayter
Posts: 226
Joined: Tuesday 07 October 2014 11:00
Target OS: Raspberry Pi
Domoticz version: LastBeta
Location: France RA
Contact:

Re: Domoticz App for Windows 10 UWP

Post by jackslayter » Thursday 21 January 2016 13:30

yes I fill user and password. I spam "load devices" but nothing in devices
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461

Sneezydevil
Posts: 126
Joined: Monday 18 January 2016 10:56
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Sneezydevil » Friday 22 January 2016 9:36

Do you have some more information about your setup?

You said you use nginx. What kind of authentication are you using? Only BasicAuth is supported at the moment.

----

On a other note this weekend I will release a new version. I was able to reduce the code base with about 60% while making the app more stable and adding some features. I'm currently stress testing this version. This version might also fix the issue niki_lauda had (I no longer can reproduce the problem).

Aadr
Posts: 13
Joined: Tuesday 09 June 2015 21:26
Target OS: Windows
Domoticz version: V2.2536
Location: The Nederlands
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Aadr » Saturday 23 January 2016 11:40

I have been testing some more,

on my desktop with win10-64 and a 35 inch monitor, 9 out of 10 times the app crashes at startup.

on my laptop with win10-64 and a 17 inch screen, it starts up fine. It crashes tho, when I switch fast from categorie to categorie. With a slower pase, it stays ok.

I hope this will help you.

Sneezydevil
Posts: 126
Joined: Monday 18 January 2016 10:56
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Sneezydevil » Saturday 23 January 2016 12:22

Aadr wrote:I have been testing some more,

on my desktop with win10-64 and a 35 inch monitor, 9 out of 10 times the app crashes at startup.

on my laptop with win10-64 and a 17 inch screen, it starts up fine. It crashes tho, when I switch fast from categorie to categorie. With a slower pase, it stays ok.

I hope this will help you.
That the size of the window matters is interesting, I test on a 11 Inch Tablet and on a 24 Inch Monitor.

I'm really curious how the new version (1.1.5.0) will do, on my system its much more stable. I will let you guys know when its available in the store, since it takes almost 20 hours before it in there.

User avatar
StanHD
Posts: 566
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Domoticz App for Windows 10 UWP

Post by StanHD » Saturday 23 January 2016 13:34

Hi, I have a different port to 8080. I cannot get any devices to load.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Domoticz Slave - Asrock Ion - Linux, Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa

Sneezydevil
Posts: 126
Joined: Monday 18 January 2016 10:56
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Sneezydevil » Saturday 23 January 2016 14:27

For the people that use a different port then 8080, does the following url work for you if you enter the correct ip and port?

http://ip:port/json.htm?type=devices&filter=all&used=true&order=Name

User avatar
StanHD
Posts: 566
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Domoticz App for Windows 10 UWP

Post by StanHD » Saturday 23 January 2016 17:54

Sneezydevil wrote:For the people that use a different port then 8080, does the following url work for you if you enter the correct ip and port?

http://ip:port/json.htm?type=devices&filter=all&used=true&order=Name
Yes that works.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Domoticz Slave - Asrock Ion - Linux, Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa

Sneezydevil
Posts: 126
Joined: Monday 18 January 2016 10:56
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz App for Windows 10 UWP

Post by Sneezydevil » Saturday 23 January 2016 18:27

Would love to figure out what is causing this, the app calls that url and just fills in the ip and port.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest