Coder Social home page Coder Social logo

openhab-windows's Introduction

Introduction

openHAB Windows application is a native client for openHAB 2 & 3. It uses REST API of openHAB to render sitemaps of your openHAB.

Builds

CI Build Latest App Release Build

Code Analysis

The app project is using SonarQube hosted by SonarCloud to analyse the code for issues and code quality.

SonarCloud

Quality Status

Branch Quality Gate Status Bugs Code Smells
beta
main Quality Gate Status Bugs Code Smells

Setting up development environment

If you want to contribute to the Windows application we are here to help you to set up development environment. openHAB Windows app is developed using Visual Studio 2019 and later.

  • Download and install Visual Studio Community Edition
  • During install, make sure to select UWP SDK 17763 and SDK 19041
  • Check out the latest code from github
  • Open the project in Visual Studio (File -> Open, Project/Solution)
  • Rebuild the solution to fetch all missing NuGet packages

You are ready to contribute!

Before producing any amount of code please have a look at contribution guidelines

Trademark Disclaimer

Product names, logos, brands and other trademarks referred to within the openHAB website are the property of their respective trademark holders. These trademark holders are not affiliated with openHAB or our website. They do not sponsor or endorse our materials.

openhab-windows's People

Contributors

alex-witkowski avatar cd-tronic avatar cniweb avatar depechie avatar hoffe86 avatar nicovermeir avatar wborn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openhab-windows's Issues

Rendering of the player element

The rendering if the player element is a little strange with only the >> on the second line.
As the 4 buttons cannot be on the same line, maybe we should have << and >> on one line and the 2 others on the other line ?

Windows 10 PC

Add webview widget

{ "widgetId": "0203_1_0_1_2", "type": "Webview", "label": "", "icon": "webview", "mappings": [], "height": 8, "url": "http://heise-online.mobi/", "widgets": [] }

[bug] Knob widget doesn't allow you to set "0" value

Environment / device: Lumia 735

Steps to reproduce:

  1. Create a Dimmer item in your openHAB
  2. In the Windows app try to set the minimum value for the dimmer (0)

Expected result:
Dimmer sets to OFF / 0

Actual result:
The item is stuck at 3

Here's also a screenshot I made on my wife's phone :-)
Cheers!

unnamed

[bug] App crashes when you provide openHAB url without the port

Environment / device: Lumia 735

Steps to reproduce:

  1. Open openHAB app
  2. Press Settings button
  3. Provide wrong openHAB url (in my case it was http://192.168.0.33 without :8080)

Expected result:
App shows an error informing about wrong URL

Actual result:
App crashes silently

Hey guys I wanted to thank you for your hard work! This app is a great opportunity for Windows Phone users to taste home automation system at its best :) Congratulations on your efforts!

Add Mapview widget

{ "widgetId": "0202_3", "type": "Frame", "label": "Map/Location", "icon": "frame", "mappings": [], "widgets": [{ "widgetId": "0202_3_0", "type": "Mapview", "label": "Brandenburg Gate Berlin", "icon": "mapview", "mappings": [], "height": 10, "item": { "link": "http://demo.openhab.org:8080/rest/items/DemoLocation", "state": "52.5200066,13.4049540", "type": "Location", "name": "DemoLocation", "label": "Brandenburg Gate Berlin", "tags": [], "groupNames": [] }, "widgets": [] }] }

Hide menu on the left side

On my mobile device (Lumia 650) the menu on the left side takes a lot of valuable space. I suggest to hide the menu by default. The store is doing the same. You just see the control to open the menu but nothing else.

Resolution is 1280 x 720 on a 5" device.

wp_ss_20170205_0002
wp_ss_20170205_0001
wp_ss_20170205_0003

Sync app widgets with openHAB server

the widgets should respons to actions taken from other clients.

for example:
when I change a slider value from an android device with habdroid, the corresponding widget on the windows app should set the new value as well so that the app stays in sync with the server

Wrong button for switch element linked to dimmer light

If one of my dimmmer lights is ON, after opening Windows app, it looks as OFF with the button "Off" surrounding with black.

It happens only for switch elements linked to dimmer item, not for switch element linked to switch item.

Windows 10 PC

Critical issue: widget state not updated

If you change the state with another UI for example of a light, the state is not updated in Windows app. Switching to the main page and then returning to the sub-page changes nothing.
It looks like the app is not "listening" to events coming from the server.

Windows 10 PC

[bug] Sitemap type setpoint not working

In my sitemap I have defined a frame with a setpoint:

  Frame label="Bad" {
	    Text item=HeizungBad_4_ActualTemperature   label="Aktuelle Temperatur [%s °C]" valuecolor=[>30="red",>20="orange",>15="green",>1="green",<=1="blue"]
		 Setpoint item=HeizungBad_4_SetTemperature  label="Neue Temperatur" minValue="5" maxValue="23" step="0.5"
		 Switch item=Fenster_Bad label="Fenster"
	}

It is display as this:
image

create rollershutter widget

Rollershutter widget is currently working like a switch with simple on / off state.
needs to be conform to HabDROID with 3 buttons, up / stop / down and using the mappings as labels

Image item not supported

Image element linked to an image item are apparently not supported (no image displayed).

Windows 10 PC

Rework sectionswitch

A switch with multiple options is currently shown as a combobox. this would be better with togglebuttons in a wrappanel

Transparent LiveTile

Should be supported so that the start screen is not disturbed when the app is pinned.

Text truncated for String elements

When you have a long text in a String item, the text appears on one unique line and truncated at keft.
Maybe it could rather be truncated at right with "..." to show that it is truncated, and maybe you could display it on several lines (there is place for that).

Windows 10 PC

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.