Ticz - Another Domoticz app for Windows 10 / UWP

Moderator: leecollings

hansworst
Posts: 23
Joined: Tuesday 02 June 2015 23:58
Target OS: Linux
Domoticz version: 3.5114
Location: Woerden / Netherlands
Contact:

Ticz - Another Domoticz app for Windows 10 / UWP

Post by hansworst »

Update 1/11/2016
After my Lumia 830 had it's encounter with the sidewalk past week and got a smashed screen, I decided to leave the Windows Phone user community :o .The recent news of MS not really focusing on WP anymore, or mainly for enterprise users + the tons of little features that WP users miss in their day-to-day apps + more and more appdevs not developing anymore for WP, makes the WP platform dying from my perspective.

I went for a relatively cheap Samsung Galaxy A3, which is my first encounter with Droid. Looking at the Droid apps out there... I honestly think my UWP had the nicest interface, so it might not be impossible that Ticz returns Android-style :)

Obviously, this means that the Ticz-UWP development has stopped, although I had great pleasure building it and getting feedback and implement fixes ! The code is still available on Github at https://github.com/hansworst24/Ticz for anyone who wants to take the project any further. The app will remain in the Windows Store as well.

Thank you all for using Ticz ! :)




Hi !

I homebrewed another app for Windows/Windows Phone/Windows IoT to control your Domoticz, called Ticz. The primary goal was to create a WP app, as I couldn't find a suitable app for my needs, and the secondary goal was to see how it will behave on a RPi2 + Windows IoT.

For both PC/Phone/Tablet the app works quite well. On RPi with IoT, some controls are still missing for better navigation. I'm also waiting for the delivery of a 7" touch screen to connect the RPi to before I can test any further and provide packages that can be sideloaded to the Pi

Since the initial version, quite some changes, fixes and improvements have already been implemented and according to myself it's a rather nice and mature app - especially given the fact I don't program for a living... :D

I recently upgraded my Domoticz from 2.4x to 3.5x and was validating any changes within Domoticz that might impact Ticz, and I think most of it is fixed.

Key features (apart from the basics) :
- Most devices seem to be supported, but of course there will be some that I've never seen/heard from :)
- For most devices for which Domoticz provides Charts/Graphs, Ticz provides the same, usings SyncFusion's excellent Charts
- Security Panel support, including nice/annoying SFX
- Auto Refresh
- Rooms can be customized, so that the view fits your needs. Please look at the documentation for more info



You can find Ticz in the Windows Store : https://www.microsoft.com/en-us/store/a ... blggh5g4b1

The source code is hosted on Github : https://github.com/hansworst24/Ticz

Please raise issues through Github : https://github.com/hansworst24/Ticz/issues

I try to keep documentation also on Github, please read it before asking questions :) https://github.com/hansworst24/Ticz/blo ... /README.md

When raising issues, please provide as much details as possible, like Device JSON output, when it happens, what happens etc.

Any feedback is more than welcome !
Last edited by hansworst on Tuesday 01 November 2016 12:41, edited 1 time in total.
toreandre
Posts: 91
Joined: Tuesday 19 January 2016 12:51
Target OS: -
Domoticz version:
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by toreandre »

JUst tried it on WIndows 10 (home edition) and the app crash everytime i try to dim a light.

But it looks good :)
hansworst
Posts: 23
Joined: Tuesday 02 June 2015 23:58
Target OS: Linux
Domoticz version: 3.5114
Location: Woerden / Netherlands
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by hansworst »

Great first response :D On/off switches work ok?

Please raise an issue on github with the device information if possible, connection method (http/https)Domoticz version and Windows version.

It might be a bug I might have introduced with the latest update :)
User avatar
Keptenkurk
Posts: 103
Joined: Wednesday 21 August 2013 17:24
Target OS: -
Domoticz version:
Location: Waalre, The Netherlands
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by Keptenkurk »

@hansworst
Thanks for this one and only WP Domoticz app! No issues here (not using dimmers).
Switches/scenes respond amazingly fast, and your support is great.
/paul
toreandre
Posts: 91
Joined: Tuesday 19 January 2016 12:51
Target OS: -
Domoticz version:
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by toreandre »

Tried to reboot both domoticz server and desktop, i can turn the dimmer off but when i try to turn it on the app hangs and exit.
Will add to github later tonight and will try it on my lumia too.

Using windows 10 home edition (not insider).
Kouseri
Posts: 57
Joined: Sunday 04 January 2015 21:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Finland
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by Kouseri »

Thanks @hansworst from this great Windows 10 app. Based on my testing today, it seems to be working very well.
I found a missing fire alarm icon and filled an issue to the Github.

Have you been thinking adding a support for tiles? It would be very convenient to make a tile of Security panel or some switch etc. in order to interact to the specific device directly from the Main menu of the phone... And of course a live tile showing a temperature data from some temperature sensor could be useful as well.... :D

Keep up the great work!
niki_lauda
Posts: 117
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by niki_lauda »

Hans
Very nice and responsive app. (Lumia 930)
The configuration was very very easy. The graphsfeature is what I was missing in other apps.

A few questions.
1. In settings there is a setting in general setting Gridview. When I change it to 7 I get an error loading domotcz configuration when I start the app.
When i change it to 1 or 10 it works again normally. Also reported it on GitHub
2. the refreshing pop up bar is very usefull but may by a smaller indicator is less intrusive.
3. I get in the log since I installed the app the error Error: Webserver: File '/images/index.html': No such file or directory (2)
is this related to the app?? I use the icons from Domoticz.
4. My most important one. Is geofencing possible???
Thats the only reason why my wife is still uses an Android phone

Thanks
HansR
User avatar
Herman-H
Posts: 32
Joined: Saturday 05 April 2014 22:10
Target OS: Linux
Domoticz version:
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by Herman-H »

Thanks Hans,
Work great on my Lumia 535
hansworst
Posts: 23
Joined: Tuesday 02 June 2015 23:58
Target OS: Linux
Domoticz version: 3.5114
Location: Woerden / Netherlands
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by hansworst »

Sorry, I've been a littlebit busy with other things and didn't notice the responses on this forum :)
Kouseri wrote:Thanks @hansworst from this great Windows 10 app. Based on my testing today, it seems to be working very well.
Have you been thinking adding a support for tiles? It would be very convenient to make a tile of Security panel or some switch etc. in order to interact to the specific device directly from the Main menu of the phone... And of course a live tile showing a temperature data from some temperature sensor could be useful as well.... :D
I think I already responded to this on Github, but for those people reading this :D : Having Tiles on the Home Screen of Windows Phone showing current data or providng shortcuts to Ticz stuff isn't in the planning. The implementation for these kind of things that I've seen in other apps doesn't really provide a benefit to my opinion, compared to loading Ticz manually and going to your favourite Room directly. Within this Room you can add your favourite devices in i.e. Dashboard View, and see them in one shot.
niki_lauda wrote: 1. In settings there is a setting in general setting Gridview. When I change it to 7 I get an error loading domotcz configuration when I start the app.
When i change it to 1 or 10 it works again normally. Also reported it on GitHub
Still looking into this...:)
niki_lauda wrote:2. the refreshing pop up bar is very usefull but may by a smaller indicator is less intrusive.
I agree, and will see if I can add something nice and small for non-message updates
niki_lauda wrote:3. I get in the log since I installed the app the error Error: Webserver: File '/images/index.html': No such file or directory (2)is this related to the app?? I use the icons from Domoticz.
Could be, I will have a look :)
niki_lauda wrote:4. My most important one. Is geofencing possible???
Thats the only reason why my wife is still uses an Android phone
It's ..... probably..... possible :) But I have zero experience with it. It probably all boils down in having Ticz run in the background and using location services and...... not for the forseeable future :)
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by Derik »

Great.....

Please is it possible to make this app working from 3G or wan......

Look @ the android app:
http://sebastiaanschimmel.me/projects/dromotica.html
Does have a simple wifi check, if your @home, use lan
Otherwise Wan settings...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
hansworst
Posts: 23
Joined: Tuesday 02 June 2015 23:58
Target OS: Linux
Domoticz version: 3.5114
Location: Woerden / Netherlands
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by hansworst »

Derik wrote:Great.....

Please is it possible to make this app working from 3G or wan......

Look @ the android app:
http://sebastiaanschimmel.me/projects/dromotica.html
Does have a simple wifi check, if your @home, use lan
Otherwise Wan settings...
It's possible to use Ticz over WAN, just add your public IP and port into Ticz and off you go ! I always use Ticz with only my WAN IP, even when I'm at home. I don't see any reason why to be able to switch between connecting to internal Domoticz IP when on LAN and external Domoticz IP when on WAN... ?
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by Derik »

hansworst wrote:
Derik wrote:Great.....

Please is it possible to make this app working from 3G or wan......

Look @ the android app:
http://sebastiaanschimmel.me/projects/dromotica.html
Does have a simple wifi check, if your @home, use lan
Otherwise Wan settings...
It's possible to use Ticz over WAN, just add your public IP and port into Ticz and off you go ! I always use Ticz with only my WAN IP, even when I'm at home. I don't see any reason why to be able to switch between connecting to internal Domoticz IP when on LAN and external Domoticz IP when on WAN... ?

Perhaps when i look @ my cams..
And why use data when your @ home..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
hansworst
Posts: 23
Joined: Tuesday 02 June 2015 23:58
Target OS: Linux
Domoticz version: 3.5114
Location: Woerden / Netherlands
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by hansworst »

Derik wrote: Perhaps when i look @ my cams..
That's a fair point. I've seen the discussion that any camviews normaly are only accessed internal. Ideally Domoticz should provide a mechanism for having that accessible through Domoticz API...In any case; Ticz doesn't support any cams yet..
Derik wrote:And why use data when your @ home..
? you get charged per MB on your Internet Link :shock: ? Or do you get charged on your phone when using WiFi and acessing external content ?
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by Derik »

hansworst wrote:
Derik wrote: Perhaps when i look @ my cams..
That's a fair point. I've seen the discussion that any camviews normaly are only accessed internal. Ideally Domoticz should provide a mechanism for having that accessible through Domoticz API...In any case; Ticz doesn't support any cams yet..
Derik wrote:And why use data when your @ home..
? you get charged per MB on your Internet Link :shock: ? Or do you get charged on your phone when using WiFi and acessing external content ?
Sorry.??
I use your app on my phone [ if that is your question ]
Lumia 640
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
TiXav
Posts: 38
Joined: Saturday 28 November 2015 22:25
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by TiXav »

Hello Hansworst
I am the same guy who posted these issues on Github :
https://github.com/hansworst24/Ticz/issues/16 and https://github.com/hansworst24/Ticz/issues/11

If you don't know the API for domoticz cam, I am using it for a big while in my personnal website for 4 Ipcams :
$.domoticzurl+'/camsnapshot.jpg?idx='+MonIdx+'&t='+Math.random();

- $.domoticzurl=http or https://mydnsname:port
- MonIdx=idx of the cam in the domoticz (1,2,3,4....)

I found this API with firefox develloper tools by analysing the domoticz cam webpage

I am using the domoticz API because domoticz is like a proxy, so that avoid to define a port for each cam in the internet box

Tixav
hansworst
Posts: 23
Joined: Tuesday 02 June 2015 23:58
Target OS: Linux
Domoticz version: 3.5114
Location: Woerden / Netherlands
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by hansworst »

TiXav wrote:Hello Hansworst
I am the same guy who posted these issues on Github :
https://github.com/hansworst24/Ticz/issues/16 and https://github.com/hansworst24/Ticz/issues/11

If you don't know the API for domoticz cam, I am using it for a big while in my personnal website for 4 Ipcams :
$.domoticzurl+'/camsnapshot.jpg?idx='+MonIdx+'&t='+Math.random();

- $.domoticzurl=http or https://mydnsname:port
- MonIdx=idx of the cam in the domoticz (1,2,3,4....)

I found this API with firefox develloper tools by analysing the domoticz cam webpage

I am using the domoticz API because domoticz is like a proxy, so that avoid to define a port for each cam in the internet box

Tixav
Hey Tixav, that indeed seems to work very nicely !!! I was able to grab a snapshot from my one an only cam. I'll have a look to see how I can implement a cam interface, with maybe a refreshrate slider that will tell how many frames to grab per second :)

Many thanks, I'll add it as a feature on Github.
hansworst
Posts: 23
Joined: Tuesday 02 June 2015 23:58
Target OS: Linux
Domoticz version: 3.5114
Location: Woerden / Netherlands
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by hansworst »

Houston ; we've got a working cam in Ticz :) Using that Domoticz API implementation for cams, it seems it will always provide a JPG as response, which eases the implementation in Ticz to wrap that into a Device.

I was able to create a camera in Ticz using my RPi Camera and RPi Cam Control. With the Domoticz API, it fetches the screenshot between 100ms and 2000ms, parses and updates the display... And it seems to work pretty good !!

So be patient and it might come soon :D

If anyone has any thoughts on how the would like to see their Cam(s) appear in Ticz let me know. I thought of a special "Camera" Room, in which the cams would appear. Each camera will provide a first static image, and option to start/stop refreshing the screen and tune refresh rate with a slider..... But maybe you guys would like to see it differently !!
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by Derik »

mmm
More pressure to use wan and lan settings... :?:
Camera cost a lot of Data!!!
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
hansworst
Posts: 23
Joined: Tuesday 02 June 2015 23:58
Target OS: Linux
Domoticz version: 3.5114
Location: Woerden / Netherlands
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by hansworst »

Derik wrote:mmm
More pressure to use wan and lan settings... :?:
Camera cost a lot of Data!!!
Assuming you live in the Netherlands, which your profile states ;
- You pay for your phone's data over 3G/4G for any data
- You don't pay if your phone is connected to WiFi / local LAN and accessing resources either internally or externally

As long as your phone is connected to local WiFi / LAN it really doesn't matter if you access your local Domoticz server via local IP address 192.168.x.x or external 83.83.242.xx . If you can prove to me that you get charged for that, I will apologize in front of the entire forum, and then tell you to search for another ISP :lol: :lol:
User avatar
TiXav
Posts: 38
Joined: Saturday 28 November 2015 22:25
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Re: Ticz - Another Domoticz app for Windows 10 / UWP

Post by TiXav »

Derik,

Post by Derik » Saturday 21 May 2016 20:59
Great.....

Please is it possible to make this app working from 3G or wan......

Look @ the android app:
http://sebastiaanschimmel.me/projects/dromotica.html
Does have a simple wifi check, if your @home, use lan
Otherwise Wan settings...

You need this feature because you don't use dns name (only Ip addresses wan or lan), if you would use dns name, you will don't care if you are on lan or wan then ticz or web browser will be able to connect to domoticz wherever you are connected
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests