Hi Philip,

I think before you change the code maybe have a look to the API. This was very 
useful for me.

https://github.com/zaidka/genieacs/wiki/API-Reference

I am testing different ways to work with the genieacs and different boxes.

I think I will use the presets only for refreshing statistic values and some 
basic settings that's always the same to a specific device type.

User specific settings i will push over the api.

When you try to make more complex setting where you must check first if the 
object is existing, adding objects, combine settings with your database, ... I 
think you will be much more flexible with the api.

I think an interesting point is to find a way to make the changes in the right 
time. That you not overwrite settings from the user and you can set the config 
fast enough after a factory reset or a device change .....

Currently i try to combine my management software with genieacs with the patch 
"RemoteNotifications" from Dan.
https://github.com/akcoder/genieacs/tree/RemoteNotifications


I think that could be a good final solution - but I am still in testing phase 
....




Regards
 
Michael Neumann
 
-----Ursprüngliche Nachricht-----
Von: Users [mailto:[email protected]] Im Auftrag von Philip 
Boulton
Gesendet: Freitag, 13. Mai 2016 18:24
An: Community support for GenieACS users <[email protected]>
Betreff: How can I dynamically set configuration items?

Dear gentle genieacs UI users, I am wondering if there is a way to dynamically 
set configuration items using arbitrary algorithms or results from external 
queries.

For example, say I want to set a made-up-parameter called Device.WIFI.SSID to 
be 'Philip' + last 6 characters of MAC address for all devices that meet the 
conditions for a preset.  How would I do that?

If the UI doesn't provide a way to do this, can you point me to where in the 
code it would make sense to hook that in?  I'm not afraid to node.

Possibly-related: What exactly is an object, and can somebody show me an 
example object that might get added to a device and explain what that does?

BTW, love the project.  Good work, people.

PB


_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to