Page 1 of 3
Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Tuesday 10 May 2016 16:28
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
.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...
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 !
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Tuesday 10 May 2016 18:16
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

Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Tuesday 10 May 2016 20:34
by hansworst
Great first response

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

Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Tuesday 10 May 2016 23:08
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
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Wednesday 11 May 2016 20:15
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).
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Saturday 14 May 2016 18:14
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....
Keep up the great work!
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Monday 16 May 2016 10:36
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
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Tuesday 17 May 2016 9:19
by Herman-H
Thanks Hans,
Work great on my Lumia 535
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Saturday 21 May 2016 16:35
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....
I think I already responded to this on Github, but for those people reading this

: 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

Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Saturday 21 May 2016 21:59
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...
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Saturday 21 May 2016 22:32
by hansworst
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... ?
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Saturday 21 May 2016 22:38
by Derik
hansworst wrote:
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..
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Saturday 21 May 2016 22:46
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

? Or do you get charged on your phone when using WiFi and acessing external content ?
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Saturday 21 May 2016 22:51
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

? 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
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Monday 23 May 2016 13:42
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
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Tuesday 24 May 2016 11:11
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.
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Tuesday 24 May 2016 21:30
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
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 !!
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Tuesday 24 May 2016 21:32
by Derik
mmm
More pressure to use wan and lan settings...
Camera cost a lot of Data!!!
Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Tuesday 24 May 2016 22:16
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

Re: Ticz - Another Domoticz app for Windows 10 / UWP
Posted: Wednesday 25 May 2016 23:23
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