Fabio Manganiello
afdeb91f66
Implemented remaining supported entities for the smartthings
integration
2023-01-26 22:10:02 +01:00
Fabio Manganiello
fd76642082
Added Volume
and Muted
entities
2023-01-22 21:04:46 +01:00
Fabio Manganiello
dabbe031ab
Don't show the entity modal unless the user clicks on the name or icon
2023-01-21 23:46:38 +01:00
Fabio Manganiello
3940288396
Use the new bus notification helpers
2023-01-21 16:59:18 +01:00
Fabio Manganiello
241670c9d0
Handle parent/child update events through broadcast bus events
2023-01-21 16:58:28 +01:00
Fabio Manganiello
3923a09831
- Expose methods on the bus module to publish/subscribe to notifications and entity updates
...
- Removed some redundant `pass` statements in Z-Wave derived event classes
2023-01-21 16:56:27 +01:00
Fabio Manganiello
fb562bb415
Propagate the @update event to the parent entities
2023-01-21 14:55:06 +01:00
Fabio Manganiello
dfb13127ee
Added MotionSensor entities
2023-01-21 14:47:18 +01:00
Fabio Manganiello
22b8b03cb2
Refactored EntityIcon component
2023-01-15 20:02:50 +01:00
Fabio Manganiello
9a5e2899e8
Support for external_url and image_url on entities
2023-01-15 20:01:47 +01:00
Fabio Manganiello
2cc5e3f726
UI tweaks
2023-01-15 15:46:25 +01:00
Fabio Manganiello
9e4fbc6a21
Defined the collapsed data property on EntityMixin level
2023-01-15 15:29:26 +01:00
Fabio Manganiello
78e250186b
Deallocate the color converter when the light component is unmounted
2023-01-15 15:25:04 +01:00
Fabio Manganiello
e9371ac5d0
Improved entity collapse logic
...
- Toggle collapsed state also if clicked on the gap between the entity
name and the right edge, instead of opening the entity modal. The
entity configuration modal should open only when clicking on the
entity name or icon (and these should be highlighted on hover as links
as well).
- The collapsed state update should be propagated to the wrapped
component as well, if applicable.
2023-01-15 15:03:53 +01:00
Fabio Manganiello
dbf5ed3b85
s/expanded/collapsed/g (for naming consistency)
2023-01-15 14:26:44 +01:00
Fabio Manganiello
bb483fd1b1
Using a nice gradient for hover-bg
2023-01-15 12:34:18 +01:00
Fabio Manganiello
afd9a1d6bf
Don't load entities that only have non-queriable children
2023-01-14 22:33:53 +01:00
Fabio Manganiello
2778357a9e
Wrapped dynamic Vue components in shallowRef.
...
The performance of the page is heavily degraded by components loaded
dynamically via defineAsyncComponent that recursively carry behind the
whole Vue machinery.
By wrapping defineAsyncComponent calls in shallowRef we make sure that
we only wire the root level of the newly created dynamic component.
2023-01-14 22:31:48 +01:00
Fabio Manganiello
fd2d83c80b
Renamed Notification mixin's warn and error methods.
...
Renamed to `notifyWarning` and `notifyError` respectively.
Those names can often clash with other properties defined on components
that extend the mixin (like entities).
2023-01-14 22:27:43 +01:00
Fabio Manganiello
aa22507f50
DropdownItem.className should not be enforced to be a string.
...
It can also be a class -> boolean object.
2023-01-14 22:11:05 +01:00
Fabio Manganiello
22a566a88b
More refactors and fixes for zigbee.mqtt
2023-01-13 02:58:47 +01:00
Fabio Manganiello
27b23b7fae
Normalize array/dict options for values on EnumSwitch
2023-01-09 01:01:35 +01:00
Fabio Manganiello
c215c693f5
Only pass children that aren't configuration values to the entities
2023-01-03 23:25:43 +01:00
Fabio Manganiello
7868d6fe37
Support for nested configuration objects on entity modals
2023-01-03 23:16:14 +01:00
Fabio Manganiello
13eb515f87
Select current display value by default on EnumSwitch
2023-01-03 23:14:57 +01:00
Fabio Manganiello
81fee3ea2a
Style tweaks
2023-01-03 23:11:39 +01:00
Fabio Manganiello
71ed545cc7
Fancier gradient background for the navigator header
2023-01-02 23:28:53 +01:00
Fabio Manganiello
b0671354ea
(Tentative) support for zwave light colors
2023-01-02 12:50:01 +01:00
Fabio Manganiello
80c2c77272
Support for entities with children on the frontend
2023-01-01 23:06:40 +01:00
Fabio Manganiello
ecba72935f
Check for table metadata existance in Base.metadata
instead of having a separate entity registry
2022-12-04 16:28:46 +01:00
Fabio Manganiello
78c59f437a
Added support for illuminance sensor entities
2022-11-27 22:38:58 +01:00
Fabio Manganiello
b1a7a7d915
Fixed little overlap between the entities' header and the navigator
2022-11-27 12:56:39 +01:00
Fabio Manganiello
b5653e070e
Style improvements for the main navigator
2022-11-27 12:56:17 +01:00
Fabio Manganiello
681f307d04
A more self-explanatory icon for entity grouping selections
2022-11-27 00:56:47 +01:00
Fabio Manganiello
bba582875a
The data
attribute on EntityUpdateEvent
shouldn't be taken into account for flashing updates
2022-11-27 00:56:23 +01:00
Fabio Manganiello
e8d6717fcb
Added input box for <Dimmer> entities
2022-11-27 00:56:01 +01:00
Fabio Manganiello
bd59a5eefd
Support for range labels on <Slider>
2022-11-27 00:55:19 +01:00
Fabio Manganiello
faa8295469
White background for main nav
2022-11-26 01:52:42 +01:00
Fabio Manganiello
d29723ea41
Keep the main menu items vertically aligned to the center also on tablets
2022-11-26 01:28:20 +01:00
Fabio Manganiello
d0c8a8edf9
A bit of padding for LightHue on mobile
2022-11-26 01:19:52 +01:00
Fabio Manganiello
37254cad1a
Mobile UI improvements
2022-11-26 01:16:07 +01:00
Fabio Manganiello
f28f08dd1a
Keep the main menu open on page load by default on >= desktop
2022-11-26 01:15:03 +01:00
Fabio Manganiello
fecd96f64c
Solved issue with main menu shrinking a bit when the main panel has too much wide content
2022-11-26 00:32:11 +01:00
Fabio Manganiello
33cc055249
Switched expanded main menu to light colors
2022-11-26 00:31:36 +01:00
Fabio Manganiello
a57e67b96f
Better style for the settings' users and token panels
2022-11-25 23:16:16 +01:00
Fabio Manganiello
21c1c96f2e
Use Dropdown for the settings menu
2022-11-25 23:15:41 +01:00
Fabio Manganiello
292ed2abff
Better style for dropdown items.
...
- Larger icon div to prevent text overlapping with icons
- Support for `selected` class
2022-11-25 23:14:28 +01:00
Fabio Manganiello
e579fb3417
Don't display sensors with null value
2022-11-21 00:05:19 +01:00
Fabio Manganiello
b9e6614b04
Added support for EnumSensor
entities
2022-11-21 00:04:07 +01:00
Fabio Manganiello
7fac5392b8
Blink entities only if their values have actually changed
2022-11-13 23:52:21 +01:00
Fabio Manganiello
833d908a32
Blink entities body upon update
2022-11-13 01:39:40 +01:00
Fabio Manganiello
f90d84a3d4
Don't wait for UI updates for entities that are not queriable
2022-11-13 00:54:37 +01:00
Fabio Manganiello
00a43dd1f8
Implemented EnumSwitch
entity type
...
Done for `zigbee.mqtt`, other plugins will follow
2022-11-11 01:46:38 +01:00
Fabio Manganiello
801ed05684
Added support for binary sensors (in zigbee.mqtt for now)
2022-11-05 01:47:50 +01:00
Fabio Manganiello
6454f9d018
Propert snake case -> camel case conversion for backend entities -> frontend components
2022-11-04 22:53:24 +01:00
Fabio Manganiello
7db84acd34
Notify of entity scan timeouts on the console instead of creating tons of notifications
2022-11-02 22:24:06 +01:00
Fabio Manganiello
64513be6b8
Initial implementation of sensor entities.
...
Implemented (at least in `zigbee.mqtt`, for now):
- `TemperatureSensor`
- `HumiditySensor`
- `VoltageSensor`
- `CurrentSensor`
- `EnergySensor`
- `PowerSensor`
- `NumericSensor` (generic fallback 1)
- `RawSensor` (generic fallback 2)
- `Sensor` (root class)
2022-11-02 16:38:17 +01:00
Fabio Manganiello
440cd60d6e
A (slightly) smarter way to infer the plural spelling of singular entity names
2022-11-02 16:35:20 +01:00
Fabio Manganiello
3d1a08f7af
Changed default entity grouping on the frontend.
...
Changed from `type` to `category`, which is basically the `name_plural`
attribute of the associated entity type metadata.
This allows us to define distinct entity metadata entries that we still
want to share the same grouping - for instance, `temperature_sensor`,
`humidity_sensor` and `battery` should all be grouped under `Sensors` on
the frontend.
2022-11-02 16:33:12 +01:00
Fabio Manganiello
68dd09e8ae
Removed unused expanded
data attribute
2022-11-02 16:31:50 +01:00
Fabio Manganiello
a1cf671334
Added support for link_quality entities to zigbee.mqtt
2022-10-30 11:03:22 +01:00
Fabio Manganiello
78dc8416fb
Snake case -> camel case for backend -> frontend entity types conversion
2022-10-30 11:01:46 +01:00
Fabio Manganiello
d61b053f72
Support for battery entities
2022-10-29 13:38:42 +02:00
Fabio Manganiello
951950c864
Added dimmer entities
2022-10-23 00:30:32 +02:00
Fabio Manganiello
3e6ebdd23b
Don't store/show the state of write-only toggle switches
2022-10-23 00:28:01 +02:00
Fabio Manganiello
8cd5cb3338
The Slider should only react to @input events
2022-10-23 00:26:59 +02:00
Fabio Manganiello
5c68365188
Better management for entity error icons
2022-10-14 23:37:36 +02:00
Fabio Manganiello
7f575bacaa
Implemented the new zwavejs2mqtt features for adding and removing nodes
2022-10-14 23:28:02 +02:00
Fabio Manganiello
1b791156bd
Proper support for color zigbee lights
2022-10-12 03:00:42 +02:00
Fabio Manganiello
e617fc75d4
Fixed slider ranges and label
2022-10-12 02:59:50 +02:00
Fabio Manganiello
958ef6b987
Better entity modal padding
2022-10-07 11:12:30 +02:00
Fabio Manganiello
b9b7404230
Web panel improvements.
...
- Don't return a redirect to the login page if an authentication failed
over a JSON endpoint - instead, return a JSON payload with the error.
- Added support for additional fonts.
- Re-designed the login/registration page.
- Updated caniuse database.
2022-10-07 02:24:29 +02:00
Fabio Manganiello
3513ee3e1c
Merge branch 'master' into 191-support-for-general-entities-backend-and-plugin
2022-07-08 23:13:36 +02:00
Fabio Manganiello
7e31ac6ed8
Added missing web build files
2022-06-02 23:41:50 +02:00
Fabio Manganiello
c9f435a6cb
Added support for ntfy notification on the frontend (just like Pushbullet)
2022-06-02 23:36:43 +02:00
Fabio Manganiello
5b3e1317f4
Only refresh entities that are visible on the interface
2022-05-30 09:23:25 +02:00
Fabio Manganiello
1df71cb54a
Proper support for light entities on smartthings
2022-05-30 09:23:05 +02:00
Fabio Manganiello
0689e05e96
Apply the light color to the icon fill instead of the bulb icon itself
2022-05-30 09:18:19 +02:00
Fabio Manganiello
088cf23958
Do not emit input event from the light component upon update
...
It may be an incomplete update that breaks the UI, and it will be
overwritten by the backend event anyway
2022-05-01 21:08:02 +02:00
Fabio Manganiello
e8f4b7c10e
CSS adjustments
2022-05-01 15:44:57 +02:00
Fabio Manganiello
dd12d57552
Added light UI entity component
2022-05-01 15:35:20 +02:00
Fabio Manganiello
5aa3750807
Re-sync the list of entities when the entities component is mounted
2022-05-01 15:34:45 +02:00
Fabio Manganiello
f760d44224
Refactored/simplified UI code for entities management
2022-05-01 15:34:15 +02:00
Fabio Manganiello
8e06b8c727
Fixed range scaling on Slider component
2022-04-30 23:40:14 +02:00
Fabio Manganiello
b16af0a97f
Include entity data
attributes in the entity info modal
2022-04-30 16:39:37 +02:00
Fabio Manganiello
47f8520f3b
Added support for description/read_only/write_only on entity level
2022-04-24 22:18:29 +02:00
Fabio Manganiello
d261b9bb9b
Frontend support for entities deletion
2022-04-24 21:40:10 +02:00
Fabio Manganiello
3e4b13d20f
Added standard Vue component for confirm dialogs
2022-04-24 21:34:39 +02:00
Fabio Manganiello
321a61d06d
Align .section.right content to the right
2022-04-24 11:30:52 +02:00
Fabio Manganiello
b22df768eb
Fixed entity icon alignment on mobile
2022-04-24 01:42:14 +02:00
Fabio Manganiello
8e2154f2b5
Do not overwrite an entity's state from an event if the state was not sampled
2022-04-24 01:41:45 +02:00
Fabio Manganiello
a9751f21f1
entities
should be the default view when the web panel is opened
2022-04-24 01:40:34 +02:00
Fabio Manganiello
135965176d
Support for entity icon color change
2022-04-23 17:52:21 +02:00
Fabio Manganiello
ef6b57df31
Added entity info modal and (partial) support for renaming entities
2022-04-23 01:01:14 +02:00
Fabio Manganiello
7d4bd20df0
Support for individual entity group refresh
2022-04-19 23:56:49 +02:00
Fabio Manganiello
e6bfa1c50f
Better dynamic entities discovery
2022-04-13 11:25:14 +02:00
Fabio Manganiello
332c91252c
zwave.mqtt.status renamed to controller_status, while status should return the current state of the values
2022-04-12 23:44:14 +02:00
Fabio Manganiello
b35c761a43
Fixed entities panel mobile layout
2022-04-12 22:24:19 +02:00
Fabio Manganiello
08c0779347
<style> on entity components should be scoped
2022-04-12 16:00:31 +02:00
Fabio Manganiello
595ebe49ca
Support for entity scan timeout errors and visual error handling
2022-04-12 15:58:19 +02:00
Fabio Manganiello
20530c2b6d
Loading events are now synchronized both ways upon entity action/refresh
2022-04-12 01:10:09 +02:00
Fabio Manganiello
9ddcf5eaeb
Implemented entities refresh on the UI
2022-04-12 00:43:22 +02:00
Fabio Manganiello
72617b4b75
Handle EntityUpdateEvents on the UI
2022-04-11 23:16:29 +02:00
Fabio Manganiello
532217be12
Support for filtering entities by search string
2022-04-10 17:57:51 +02:00
Fabio Manganiello
f301fd7e69
Added standard NoItems component to handle visualization of no-results divs
2022-04-10 14:27:32 +02:00
Fabio Manganiello
58861afb1c
Added entities panel
2022-04-10 13:07:36 +02:00
Fabio Manganiello
8ec9c8f203
Added standard component for icons
2022-04-10 13:07:01 +02:00
Fabio Manganiello
3435f591eb
Support for keep-open-on-item-click and icon URLs on dropdown elements
2022-04-10 01:57:39 +02:00
Fabio Manganiello
453652ef76
Updated plugin icons
2022-04-10 01:50:45 +02:00
Fabio Manganiello
b2ff66aa62
Added mixins to capitalize/prettify text
2022-04-10 01:50:13 +02:00
Fabio Manganiello
b1491b8048
Better style for scrollbars
2022-03-30 17:42:09 +02:00
Fabio Manganiello
96a2d8bef0
Fixed size for nav icons with static images
2022-03-30 13:53:10 +02:00
Fabio Manganiello
e261dcc27a
More UI fixes
2022-03-30 01:43:59 +02:00
Fabio Manganiello
d0790aaba3
Better style for toggle switches
2022-03-29 23:45:57 +02:00
Fabio Manganiello
bb28617cc9
Refactored slider and range-slider components
2022-03-29 14:36:17 +02:00
Fabio Manganiello
e1e6da9307
Fixed icon size for img tags in nav bar
2022-03-28 16:00:18 +02:00
Fabio Manganiello
f6ce0d7200
Fixed broken paddings after bulma removal
2022-03-28 13:13:31 +02:00
Fabio Manganiello
ed5f7070a2
Removed bulma dependency from frontend
...
The UI is now much faster, the build process completes within one minute
(it used to take >15 minutes), and the size of the bundles has been
reduced by ~70%.
2022-03-28 12:54:36 +02:00
Fabio Manganiello
128b45686a
Updated Vue dependencies for the webapp
2022-03-28 01:19:21 +02:00
Fabio Manganiello
0d0797a465
Added Jellyfin integration
2022-03-01 01:32:50 +01:00
Fabio Manganiello
e9f6d9a8bc
Refactored RSS integration into its own rss
plugin [ closes #199 ]
2022-01-06 00:46:05 +01:00
Fabio Manganiello
1483d602f8
Added music.spotify UI integration
2021-07-20 01:35:21 +02:00
Fabio Manganiello
35c4a30a63
Added music.spotify plugin and refactored MusicPlugin
2021-07-17 22:14:15 +02:00
Fabio Manganiello
664ce4050d
Added Switchbot plugin
2021-05-10 18:43:00 +02:00
Fabio Manganiello
ce882381c0
Fixes to torrent search + SASS library migration
...
- Support for custom PopcornTime API mirror/base URL.
- Full support for TV series search.
- Fixed torrent search (now using a different PopcornTime API mirror).
- Migrated SASS engine from `node-sass` (currently deprecated and broken on Node 16) to `sass`.
- Fixed alignment of Z-Wave UI header on Chrome/Webkit.
2021-05-06 23:18:47 +02:00
Fabio Manganiello
c006c4b368
Added zwave.mqtt plugin and backend [ closes #186 ]
2021-04-12 02:45:59 +02:00
Fabio Manganiello
f1faa1141e
More LINT fixes
2021-04-06 21:10:48 +02:00
Fabio Manganiello
2a78f81a7b
Major LINT fixes
2021-04-05 00:58:44 +02:00
Fabio Manganiello
89beab4767
Added controls to music dashboard widgets
2021-04-03 21:16:22 +02:00
Fabio Manganiello
ee0685363e
Fixed regression on UI event handler callbacks
2021-04-02 19:48:13 +02:00
Fabio Manganiello
a147a4d37a
Added <Camera> dashboard widget
2021-03-29 21:14:32 +02:00
Fabio Manganiello
177c697f83
Added support for custom dashboard components [see #129 ]
2021-03-28 17:34:11 +02:00
Fabio Manganiello
1355f7a3f6
[Dashboards] The class value should only apply to the widget wrapper, not to the wrapped widget [see #179 ]
2021-03-18 01:30:29 +01:00
Fabio Manganiello
ca573cb980
Added possibility to pass id instead of name to the switch mixin toggle method
2021-03-16 21:03:58 +01:00
Fabio Manganiello
75deb0393d
Fixed class name typo
2021-03-16 20:56:34 +01:00
Fabio Manganiello
14f1c44378
- If a Z-Wave event includes an explicit value update then explicitly set that value on the node, in order to prevent issues with Z-Wave value updates not yet propagated to the node structure
...
- Added Z-Wave switch component
2021-03-16 20:52:30 +01:00
Fabio Manganiello
fdd46edb6a
Do not force type cohercion on bool values - !!parseInt(true) = false in JavaScript, for some reason
2021-03-16 20:11:49 +01:00
Fabio Manganiello
b9738d88df
Added some temporary debug lines to Z-Wave's Value.vue to investigate setValue issues
2021-03-16 20:00:25 +01:00
Fabio Manganiello
ce0ca2e9ee
Explicitly pass the new value on the Z-Wave setValue handler in case of binary toggles, since the target element can't be reliably determined
2021-03-16 19:37:42 +01:00
Fabio Manganiello
b171cb1012
A click on a Z-Wave binary event should result in the value being toggled, not rewritten [see #176 ]
2021-03-14 01:05:02 +01:00
Fabio Manganiello
02f6845e72
- Added weather.openweathermap plugin and backend, as a replacement for Darksky [ closes #177 ]
...
- Added note to the Darksky plugin about the decomissioning of the API by the end of the year
2021-03-12 01:31:26 +01:00
Fabio Manganiello
775478fff0
Improvement management of Z-Wave value types from the web panel
2021-03-10 10:58:51 +01:00
Fabio Manganiello
d860d8aef1
Added SmartThings switch web plugin
2021-03-05 21:29:32 +01:00
Fabio Manganiello
4ada1c663d
Added SmartThings plugin [ #148 ]
2021-03-05 02:23:28 +01:00
Fabio Manganiello
9e4daacd74
Aligning flex elements to the right with justify-content: right doesn't work on Chromium-based browsers - use flex-end instead
2021-02-26 21:10:45 +01:00
Fabio Manganiello
727094467d
Fixed some UI elements for Chrome on mobile
2021-02-21 18:10:22 +01:00
Fabio Manganiello
3e777bd19f
Media buttons should have no background by default
2021-02-21 02:15:27 +01:00
Fabio Manganiello
94c35e210e
Migrated /plugin/<pluginName> route
2021-02-21 00:39:06 +01:00
Fabio Manganiello
34892e227a
The webapp dist/ folder should actually be under the webapp dir
2021-02-20 23:26:25 +01:00
Fabio Manganiello
856eb720b0
Migrated execute panel
2021-02-20 23:12:54 +01:00