Zefau / ioBroker.jarvis

jarvis - just another remarkable vis
https://forum.iobroker.net/topic/49776
Other
149 stars 39 forks source link

Add pre-defined layout and devices based on user-defined enums #31

Closed Zefau closed 4 years ago

Zefau commented 4 years ago

Supported adapters and device types:

Adapter light blinds socket heating
deconz x x
hue x x
hue-extended x x
shelly x x x
HomeMatic IP x x x x
braindead1 commented 4 years ago

Your idea together with the possibility to automatically import alias devices would really improve and speed up the configuration of jarvis.

image

Zefau commented 4 years ago

Looks good. How do I activate the alias functionality? Is that a dedicated adapter? Couldn't find one and I'm missing the option in the menu. Found it.

Zefau commented 4 years ago

@braindead1 Actually looks like that the alias devices automatically added to the enums as well when assigned to a function? Can you confirm that?

I never worked with the alias / devices adapter. Is the structure flexible chosen by the user or is it statically set by the adapter based on deviceType ? First impression to me is, that it is static (which is good) and the user is not able to freely choose the name of the state?

braindead1 commented 4 years ago

I just started using the adapter, but during the last ioBroker developer session it was discussed that the adapter could become part of the standard feature set. Therefore it is worth spending time. The intention of the adapter is to create a unified structure for devices of different adapters.

The answer to your question highly depends on the way aliases are created. If the alias is created with the mentioned adapter, the state names are given and cannot be changed by the users. Besides the adapter, aliases can be created manually (e.g. via scripts that can be found in the forum) and here the user is free to name states.

Zefau commented 4 years ago

This has been introduced now with v1.0.0-beta.1 and is ready for testing.

You will find the option to Import devices in the Devices tab of the configuration panel, see: image

The following adapters are supported for a device import: image

You may either search the whole adapter structure or filter to only search within (the user defined) enums.

Zefau commented 4 years ago

@braindead1 I would appreciate if you could test this functionality as well. Thanks for that!

Zefau commented 4 years ago

https://github.com/Zefau/ioBroker.jarvis/issues/41

braindead1 commented 4 years ago

I removed my complete configuration to simulate a fresh installation of jarvis. I noticed the following:

image

Other things I noticed that are not related to device import:

Zefau commented 4 years ago
Zefau commented 4 years ago

It will not be possible to disable the state transformation. The created states can easily be removed. Furthermore, the "original" states will always be created / adapted as well.

Zefau commented 4 years ago

This should be resolved with 1.0.0-beta.2 respectively 1.0.0-beta.8.

Zefau commented 4 years ago

The "Abbrechen" button next to "Speichern" is pulsating until you click somewhere else. I was not able to take a screenshot to show what I mean as this effect is only available when the browser window has focus.

Could you explain in detail how to reproduce this? You are on the Device Import dialogue and you have searched for devices already and seeing the result list? And having the browser window focused the "Abbrechen" button is pulsating? What browser are you using?

braindead1 commented 4 years ago

I have a clean installation of v1.0.0-beta.8 and no configuration. The config dialogue pops-up and now the "Abbrechen" button is pulsating until you click somewhere else. I tried Google Chrome and Microsoft Edge. In both browsers it's the same.

image

Zefau commented 4 years ago

https://github.com/Zefau/ioBroker.jarvis/issues/51

Zefau commented 4 years ago

aa13283a3eac314bd9a01ae3f0d2f86ae37a68b3