The link at the bottom of the first post shows more info about the app with screenshots of the 4 tabs covering Weather, Lights, Information, Settings.
See
https://www.b4x.com/android/forum/threa ... ion.97645/
I also have scribbled a (draft) PDF document with more development information. It is too large to attach (1MB).
Drop me a PN with email and I can send it to you.
Additional (specific info) as shared on the link mentioned.
Functionality
- View & control devices which are added to the Domoticz Dashboard ("favorites")
- Devices are grouped and displayed in tabs (B4A TabStripViewPager Custom View, B4J TabPane)
- Own device grouping used (not Domoticz menus) to build the tabs: Weather, Lights, Information
- Tabs containing xCustomListView to view or control devices and to manage settings via CheckBox/InputDialog
- xCustomListView items are build at runtime using Domoticz Favorite Devices data
- Domoticz Favorite Devices data is requested via HTTP (okhttputils2) and the JSON rersponse is parsed to get the relevant data
- Data refreshed is triggered manually via menu item (Tab Settings shows time refreshed)
- If Domoticz favorite devices are changed (added/removed/updated), these are reflected on the next manual updated (no changes required in the App, full flexible to handle change)
- Clicking on xCustomListView item shows short toastmessage with additional information
- Tab Lights enabled to control switches (on/off), lights (on/off) and dimmer. When dimming, a short toastmessage shows the dim level. Mainly used for Philips Hue Bulbs
- Tab Information enables to send a message to the Alert Message device via InputDialog
- Settings are managed via Tab Settings and stored using map file (in file internal)
- At App resume (B4A), data is refreshed
- Menus added to refresh the data as mentioned, jump to tabs (pages)
Outline next version
- Extend parsing device Types & Subtypes as not all Domotict types are supported yet
- Handle devices thresholds, i.e. change data color depending level
- Consider to update real time or use a timer to autorefresh - but will cause high network traffic
- Consider selective devices from all devices data - needs customizing (=effort to maintain, non standard), high data volume
- Various smaller improvements