Cheers Dan.

That was the hint I needed. Thanks!
> On 11 May 2018, at 19:20, Dan Morphis <[email protected]> wrote:
> 
> Provisioning scripts are only implemented in v1.1. v1.1 also doesn't pull 
> down the entire device model, which is why it appears to you that basic 
> information isn't being displayed about the CPE. You can force GenieACS to 
> pull that information by using a provisioning script.
> 
> Create a script called 'boot', and then trigger it off the 1 BOOT event. In 
> that script put this:
> 
> let now = Date.now();
> declare("InternetGatewayDevice.DeviceInfo.SerialNumber", {value: 1});
> declare("InternetGatewayDevice.DeviceInfo.ProductClass", {value: 1});
> declare("InternetGatewayDevice.DeviceInfo.ManufacturerOUI", {value: 1});
> declare("InternetGatewayDevice.DeviceInfo.Manufacturer", {value: 1});
> declare("InternetGatewayDevice.DeviceInfo.HardwareVersion", {value: 1});
> 
> declare("InternetGatewayDevice.WANDevice.*.WANConnectionDevice.*.WANPPPConnection.*.ExternalIPAddress",
>  {value: now});
> 
> 
> The value in the value parameter tells Genie to only refresh the given 
> parameter/object if Genie's version of the data is older then the value 
> given. Value is in milliseconds since Unix epoch.
> 
> -dan
> 
> 
> 
> On Fri, May 11, 2018 at 10:05 AM, Joseph Waite <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi Dan
> 
> No
> I’m currently using v1.0 as v1.1 wasn’t getting basic info like IP address of 
> modems etc.
> 
> Joe Waite
> 
> On 11 May 2018, at 18:33, Dan Morphis <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> Are you using genie v1.1?
>> 
>> On Fri, May 11, 2018 at 1:50 AM, Joseph Waite <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Hi Dan
>> 
>> Yes that is the page I’m referring to, I have put the external script in the 
>> advised location, however its the main provision script I’m unsure of 
>> how/where to add.
>> 
>> Regards
>> 
>>> On 10 May 2018, at 23:06, Dan Morphis <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> I presume your using the "Example of a provisioning flow" wiki page? It 
>>> mentions under external script 
>>> <https://github.com/genieacs/genieacs/wiki/Example-of-a-Provisioning-Flow#external-script>
>>>  where to put the file.
>>> 
>>> -dan
>>> 
>>> On Thu, May 10, 2018 at 1:49 PM, Joseph Waite <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> Hi Guys
>>> 
>>> Sorry if this has already been covered but I can’t seem to find it.
>>> 
>>> I have an outline of a provisioning script from the Wiki which I believe 
>>> Dan posted and have customised it to my needs.
>>> 
>>> I cannot however seem to work out where I have to put it, the presets 
>>> section doesn’t seem to have any way of adding a file and the Files section 
>>> doesn’t have an option for provision scripts.
>>> 
>>> If anyone can help I would appreciate it, Im almost there with GenieACS 
>>> just seem to be missing one bit of the link!
>>> 
>>> Regards
>>> _______________________________________________
>>> Users mailing list
>>> [email protected] <mailto:[email protected]>
>>> http://lists.genieacs.com/mailman/listinfo/users 
>>> <http://lists.genieacs.com/mailman/listinfo/users>
>>> 
>>> _______________________________________________
>>> Users mailing list
>>> [email protected] <mailto:[email protected]>
>>> http://lists.genieacs.com/mailman/listinfo/users 
>>> <http://lists.genieacs.com/mailman/listinfo/users>
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> [email protected] <mailto:[email protected]>
>> http://lists.genieacs.com/mailman/listinfo/users 
>> <http://lists.genieacs.com/mailman/listinfo/users>
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> [email protected] <mailto:[email protected]>
>> http://lists.genieacs.com/mailman/listinfo/users 
>> <http://lists.genieacs.com/mailman/listinfo/users>
> 
> _______________________________________________
> Users mailing list
> [email protected] <mailto:[email protected]>
> http://lists.genieacs.com/mailman/listinfo/users 
> <http://lists.genieacs.com/mailman/listinfo/users>
> 
> 
> _______________________________________________
> 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