Scrounger / ioBroker.linkeddevices

Create linked objects (datapoints) of your devices with a self-defined structure. This makes it possible to create a structure in ioBroker, where all objects are centralized, e.g. to be used in the vis or scripts.
https://forum.iobroker.net/topic/22301/neuer-adapter-linkeddevices
MIT License
17 stars 11 forks source link

Migrate custom_m.html to new JsonConfig #65

Closed Apollon77 closed 2 years ago

Apollon77 commented 3 years ago

We were able to hold the HTML style confog pages - especially for the custom configurations working for many years and admin versions now. With the rewrite of Admin in React we need to break this functionaliyt because it will not be possible to integrate "html snipets" that way as in the past.

Admin5 allows to specify the fields in a JSON format and all the rest is handled by the Admin itsefl. This new format is optional for the normal admin configuration dialog,but mandatory for the custom configuration!!

The JSON format is described in https://github.com/ioBroker/ioBroker.admin/blob/master/src-rx/src/components/JsonConfigComponent/SCHEMA.md and we will also having soon a JSON-Schema for it hopefully. Also Adapters like sql, influxdb, history and telegram are already migrated and could be used to see an example (see admin folder).

If you use special components (Tables or other "non standard field types) or you need support on how to best migrate special needs that are not available in the specification above please open an isue in admin and describe exactly what you need and how it should behave - or implement it in admin react and provide a PR.

You can test it yourself by using the react GUI from Admin 5.

Thank you for your support. It would be awesome if you could find time to check and implement this within the next 2 weeks. Please responde if you can not do that, then we can think about supportive options.

Please use https://github.com/ioBroker/ioBroker.admin/issues/692 for any questions!

GermanBluefox commented 3 years ago

@Scrounger I implemented all that you requested. Could you implement the new custom settigns?

Apollon77 commented 3 years ago

@Scrounger Do you have a rough idea when you come to it? Just for planning

Scrounger commented 3 years ago

@Apollon77 Must wait until @GermanBluefox has implemented my remarks. And then hope that not something else catches my eye ;-)

Apollon77 commented 3 years ago

Whats still open? Can you please ping in that relevant thread please?

Apollon77 commented 3 years ago

@Scrounger Any status update? IS still Admin stuff missing? If yes what?

Scrounger commented 3 years ago

@Apollon77 still the points I have described here in detail https://github.com/ioBroker/ioBroker.admin/issues/692#issuecomment-857472871

Apollon77 commented 2 years ago

Did you saw the infos from Bluefox?