
Create a HTTP device
Hi,
I am struggling with the SDK, I've posted a comment on Niels guide for that.
What I am wanting to achieve is Icons on the remote that are sending HTTP requests to a device. this is: 192.168.10.20/enado/api/core/Triggers/cmd/8272/41/?auth_token=abcde12345f23b9c3a419892c6c37436
The IP doesn't need to be in the syntax it could just be /enado onwards.
Is this easy to do once I've got my head around it?
The bits that change will be the bits after /cmd i.e. 8272/41 could be 9334/41 or 3456/31 or similar. I'm guessing i would just need to create a button per command string?
-
Dont worry about the SDK. I have worked out a driver named simple.
Try if you can work with this.:
https://github.com/nklerk/neeo_driver-simple
Have fun
Reply -
Hi,
I have tried to follow the steps on the link but I still have the same issues as i have when trying to use the SDK, it says to change the IP to my brain IP, I know this but I don't know where to change it, I can see the index.js from the SDK guide but the info from the brain isn't there, it stops at line 24. If i need to open a different folder I'm not sure what this would be.
Reply -
Ok so next n00b question, I have my code sorted out but how do I up load and save it to the brain?! then where do I go from there with creating the UI? I've used many control systems before but this is totally alien to me having to actually write script etc. I'm used to using drivers and just uploading them to the processor via software, this is code editing and installing it to my PC, its not saving it to the brain by the looks of it.
Reply -
ok so I ran the index.js and its saying its loaded, I created a dummy accessory but this isn't being seen in the app. The app says No automation items found! so not sure what steps to do next, I was expecting to see a way to link the 4 buttons from the driver but they don't appear anywhere.
I think what I am trying to do is simply too much to ask of Neeo, or at least far too complex to do anyway.
Reply -
Hi,
been away for a while as my wife had a baby!
Right update, i added the dummy device but this doesn't seem to find anything i can use. I appear to have done everything correctly but it wont find the code etc on the remote. I get how to edit Neils code to add my URL etc, what i cant do is get the remote to see this command etc the dummy device doesnt seem to see anything. Also will the command Neils made let me use the hard buttons?
I want to have the hard button remote do things like control my sound bar all the time, but the navigation button to jump between TV, STB etc
Reply