Examples of HABPanel Solutions


(Marius) #230

@gersilex
Hey, thanks I display it on a 10" Touchscreen attached to a raspbery 3 on which also OpenHAB runs.
The 10" Touchscreen is activated by a motion detector.

...

the forecast is provided by OpenWeatherMap and my outside temeprature comes from a ds18b20 which is attached to an esp8266 together with a dth22 for the inside temperature. it sends the data via mqtt every 5 minutes.

...


(neo) #231

Hey @BoxofAllsorts

That looks awesome! I wouldn’t mind trying out a similar look. Is this something you’d be prepared to share?


(Hallo Ween) #232

I have an android tablet with a front cam.

How can i make the screen go on, when someone is in front of the tablet?

Can i make this with the front cam?

I don´t want to always have the screen on, only if someone is directly in front of the tablet.


(Morten) #233

The app “Fully Kiosk Browser” has this functionality.


(Andrew Pawelski) #234

Wish there was an IPad equivalent!


(Hallo Ween) #235

Did you try this? Is this working ok?


(Morten) #236

It works perfectly. I use it on all my wall mounted tablets with no major issues. It has a lot of other advanced features as well, but it is not free to use (you can use it with a watermark on the screen until you decide if you want to pay for it.


(Hallo Ween) #237

I want to know if the “screen on when motion on camera” works ok.

Will give it a try.

Will this completely deactivate the screen or only show a black picture?

When screen is completely deactivated, touich screen will not work, i think. So when camera motion detection is not working very well, i have to use the hardware power button to activate the tablet.

Would be perfect, if this would work with tap on screen on a blank/off screen too.


(Aleksandr Kovalchuk) #238

You can try:

This app is free and can unlock screeen by motion detection. Also it can send data like battery state via MQTT. You also can remotely use your tablet camera as a survialance camera and etc.


(Oliver Kuhl) #239

You can use the „add to home screen“ function in iOS Safari to get a full screen mode on iPad.


(Tom Araya) #240

Try the fully browser from the play store. It provides this function and much more. I tried so many solutions, but this little piece of software is amazing. I use it on 8 tablets in different rooms.


(SiHui) #241

Yes.

Yes. Or use the “Remote Administration” feature of FKB and wake your tablet via motion sensors through the http binding.
But the motion detection is working great, unfortunately not in low light condition.


(Andrew Pawelski) #242

yes I know that was more the camera actrivation


(Hallo Ween) #243

Yesterday i tried FKB with camera motion detection.

I don´t know, if i configured it the right way. I only activated motion detection camera functionality, but it doesn´t activate the screen. After the screen timeout of the android display settting the screen was not powered on again. It was bright and i moved in front of the cam.

After that i tried the app wallpanel and there it worked on first try.

Is there something, i have to do in fully kiosk browser more than activate camera motion? There are much settings with timeout, screensaver and so on, there i didn´t change anything.

Will this motion detection only detect moves in short distance or will it also detect, when i´m 2-3m away from the camera and move in the room?

EDIT:
Yet another question…

Can i set up my habpanel (server-side) only with the tablet and with the habpanel configuration ui or can i do this on my computer with sitemap-file too?


(shane kevin) #244

that’s looking really nice! May I have you layout please? really like the layout!


(Christoph) #245

Could you share your items and rules etc. for the “Verspätungs”-Popup?
Thanks in advance!


(Marius) #246

@Syn

.items
//Bahn
String bahn_uni_zeit "Bahn zur Uni um [%s]" { http="<[http://reiseauskunft.bahn.de/bin/query.exe/dn?cb=processFahrtmoeglichkeiten&nrCons=1&S=800xxx&SBH=1&Z=800xxx&ZBH=1&journeyProducts=1023&wTime=00:25&widget=1&start=1&encoding=utf-8:60000:JS(bahn_zeit.js)]"}
String bahn_uni_versp "Bahn zur Uni: [%s]" { http="<[http://reiseauskunft.bahn.de/bin/query.exe/dn?cb=processFahrtmoeglichkeiten&nrCons=1&S=800xxx&SBH=1&Z= 800xxx&ZBH=1&journeyProducts=1023&wTime=00:25&widget=1&start=1&encoding=utf-8:60000:JS(bahn_versp.js)]"}
String bahn_alarm_uni  "Uni Bahnalarm [%s]"
String bahn_bochum_zeit "Bahn nach Bochum um [%s]" { http="<[http://reiseauskunft.bahn.de/bin/query.exe/dn?cb=processFahrtmoeglichkeiten&nrCons=1&S= 800xxx&SBH=1&Z= 800xxx&ZBH=1&journeyProducts=1023&wTime=00:25&widget=1&start=1&encoding=utf-8:60000:JS(bahn_zeit.js)]"}
String bahn_bochum_versp "Bahn nach Bochum: [%s]" { http="<[http://reiseauskunft.bahn.de/bin/query.exe/dn?cb=processFahrtmoeglichkeiten&nrCons=1&S= 800xxx&SBH=1&Z= 800xxx&ZBH=1&journeyProducts=1023&wTime=00:25&widget=1&start=1&encoding=utf-8:60000:JS(bahn_versp.js)]"}
String bahn_alarm_bochum  "Bochum Bahnalarm [%s]"
transform/bahn_zeit.js
input = input.replace("BAHN_MNB.fm =","");
input = input.replace(";\nBAHN_MNB.processFahrtmoeglichkeiten();","");
JSON.parse(input).fl[0].ab;
transform/bahn_versp.js
input = input.replace("BAHN_MNB.fm =","");
input = input.replace(";\nBAHN_MNB.processFahrtmoeglichkeiten();","");
JSON.parse(input).fl[0].abpm;
.rules

I made a rule that only delays over 2 minutes are shown.

 rule "Bahn-Alarm"
 	when
 		Item bahn_uni_versp received update or
 		Item bahn_bochum_versp received update
 	then
 		if(bahn_uni_versp.state == "pĂźnktlich") bahn_alarm_uni.sendCommand("")
 		else if(bahn_uni_versp.state == "1" || bahn_uni_versp.state == "2") bahn_alarm_uni.sendCommand("") 
 		else if(bahn_uni_versp.state == "-") bahn_alarm_uni.sendCommand("Bahn um " + bahn_uni_zeit.state + " zur Uni: fällt mÜglicherweise aus")
 		else bahn_alarm_uni.sendCommand("Bahn um " + bahn_uni_zeit.state + " zur Uni: " + bahn_uni_versp.state + " Minuten Verspätung")
 						
 		if(bahn_bochum_versp.state == "pĂźnktlich") bahn_alarm_bochum.sendCommand("")
		else if(bahn_bochum_versp.state == "1" || bahn_bochum_versp.state == "2") bahn_alarm_bochum.sendCommand("")
 		else if(bahn_bochum_versp.state == "-") bahn_alarm_bochum.sendCommand("Bahn um " + bahn_bochum_zeit.state + " nach Bochum: fällt mÜglicherweise aus")
 		else bahn_alarm_bochum.sendCommand("Bahn um " + bahn_bochum_zeit.state + " nach Bochum: " + bahn_bochum_versp.state + " Minuten Verspätung")
 	
end
custom widget
<div ng-if="itemValue('bahn_alarm_uni')||itemValue('bahn_alarm_bochum')">
      <div class="bahn-alarm">{{itemValue('bahn_alarm_uni')}}</div>
      <div class="bahn-alarm">{{itemValue('bahn_alarm_bochum')}}</div>
</div>

How to (prepare to) integrate public transport departure data using HAFAS REST API?
(Hallo Ween) #247

Which android tablet is better for habpanel use?

A device with 1920x1080 or a device with 1920x1200 pixels?

(Fullscreen Habpanel without scrolling)


(Mikael Gustafsson) #248

The one for which the panel is designed for. HABPanes scales quite well for screens of different sizes, so the difference probably won’t be huge, but more real estate is always better.


(Hallo Ween) #249

Maybe there is a given size of maybe 6 rows and this is displayed at 1080 with scrolling and at 1200 in full screen size without the need of scrolling, that was the intention of my question.

More real estate is relative…

1920x1080 is 10,6 inch and 1920x1200 is 10,1 inch… So i don´t know where i can see really more screen…