Rotini Legacy to HomeHabit Journey


#1

This is a screenshot of what my main dashboard looks like in the old Rotini legacy app…
I’ll use this topic to keep a track of my journey to get something similar in the HomeHabit app…

UPDATE
A bit of trial and error and I’ve figured out the best layout for my LG tablet mounted on the wall is going to be 5 columns by 7 rows… And a quick mockup in OneNote for me to aim for…

UPDATE
Looks like the media widget doesn’t look so good in my testing so made it a bit smaller and gave me room for a couple more widgets…

UPDATE : 20th Oct 2018
Okay have wasted enough time on this today :slight_smile:
Gonna venture outside for a while…

I’ve made some good progress quite quickly which is awesome. Just a few issues I need to try resolve…

  • Ideally Scene widgets should show the label at the top when the sty;e is “mode”.
  • My decimal numbers are too big and about the same size as the whole numbers.
  • Webcam images would look better “stretched”
  • Being able to set a widget as “read only” would be great
  • Media widget needs support for cover art from OpenHAB image item.
  • Media widget needs a couple more controls like volume and power.
  • Use Font Awesome for extra custom icons?

This is what I have it looking like so far.

UPDATE : 1st Dec 2018
Been looking at this again today to see if any updates let me improve my new dashboard…

  • Ideally Scene widgets should show the label at the top when the sty;e is “mode”.
  • My decimal numbers are too big and about the same size as the whole numbers.
  • DONE! : Webcam images would look better “stretched”
  • Being able to set a widget as “read only” would be great
  • Media widget needs support for cover art from OpenHAB image item.
  • Media widget needs a couple more controls like volume and power.
  • Play button on media widget doesn’t seem to work
  • Prev/Next buttons on media widget do nothing
  • Use Font Awesome for extra custom icons?
  • Decimal values in widgets too big
  • Setting up a garage/gate widget that works for me is still overly complicated involving extra hidden items and rules…

#3

@TommySharp Thanks a lot for sharing this, it is great to see it! Hope to see more updates to the journey.

Oh, and those mockups look great! :slight_smile:


#4

Feel free to use my little list as a priority list for developmennt :wink:


#5

How did you get the camera working?

I created a String item in OpenHAB
String FrontDoorCam “Front Door Cam”
Then I created a rule which sets the String item with the URL:
FrontDoorCam.postUpdate( “http://diskstation.local/cam_stream.php?CamID=1&stream=2” )

My Screen is just black … If I open the URL in a browser I can see my camera stream (mjpeg format).


#6

@michelm What Android device are you using?


#7

I’m having a Google Nexus 9 Tablet with Android 8.1 (LineageOS 15.1) and also a Samsung T580 with Android 7.0.


#8

Ok, I saw some out of memory crashes from this type of device, which is probably what you have reported. This is might be because of camera stream. Will check.


#9

I also find that Android is not very good with computers names… Try your url with an IP address instead…


#10

My Url is already using ip address and looks like follows.
http://192.168.10.55:5000/webapi/SurveillanceStation/videoStreaming.cgi?api=SYNO.SurveillanceStation.VideoStream&version=1&method=Stream&format=mjpeg&_sid=YgZaYuR2Jyetw1630STG415221&camStm=5&cameraId=5

When placing the item on the BasisUI from Openhab as a video item it’s working fine.

Regards,
Michel


#11

@michelm Can you try using still (snapshot) image URL instead of mjpeg stream?
Current camera widget works with still jpeg images (with periodic refresh), so it might not work correctly with mjpeg stream URL.

(mjpeg will be added soon)


#12

Today, I further tried to migrate my legacy version, but this error message unable to connect to Openhab is kind of annoying. See screenshot.
So far I miss the following items compared to legacy version:

  • MJPEG Stream for camera
  • Weather Forecast Widget
  • OPENHAB connection not stable


#13

Michel, in order to understand if it is the problem with the application or with connection I need more information about your setup such as do you connect locally over WIFI, myopenhab or somehow else? What OH version do you use?
The notification was designed to inform a user of any connectivity issues, since that means that data shown is not current. Our attempt was to reduce ambiguity of what’s happening with the system at any given moment.


#14

Hi Igor,

When I go to “Platforms” I can see that it’s switching between “sync error” and “sync is ON”. Can I somewhere see the reason for sync error?

Regards,
Michel


#15

There should be more detailed errors available in the next release.


#16

UPDATE : 1st Dec 2018
Been looking at this again today to see if any updates let me improve my new dashboard…

  • Ideally Scene widgets should show the label at the top when the sty;e is “mode”.
  • My decimal numbers are too big and about the same size as the whole numbers.
  • DONE! : Webcam images would look better “stretched”
  • Being able to set a widget as “read only” would be great
  • Media widget needs support for cover art from OpenHAB image item.
  • Media widget needs a couple more controls like volume and power.
  • Play button on media widget doesn’t seem to work
  • Prev/Next buttons on media widget do nothing
  • Use Font Awesome for extra custom icons?
  • Decimal values in widgets too big
  • Setting up a garage/gate widget that works for me is still overly complicated involving extra hidden items and rules…