anthonywebb / homebridge-cbus

CBus plugin for homebridge
MIT License
35 stars 20 forks source link

help with my-platform.json #60

Closed DarylMc closed 7 years ago

DarylMc commented 7 years ago

Could someone please describe in a bit more detail how to set up my-platform.json I did get it going once but now I can't seem to figure out how to do it. In my case homebridge is now running as a service with systemd.

DarylMc commented 7 years ago

I created a file my-platform.json in pi directory but it hasn't got any info loaded

ElphaX commented 7 years ago

Have you referenced it in the config.json for homebridge?

DarylMc commented 7 years ago

@EdwinJS Thanks for the reply. Yes I did that. "platform_export": "my-platform.json", I'm not sure what I need to do on the pi for that to work.

DarylMc commented 7 years ago

do i need to specify the location of my-platform.json?

DarylMc commented 7 years ago

It is working for me now. Great feature for new installs. Because I set homebridge to run as a service with username homebridge I had to change permissions for my-platform.json and also specify the location. eg "platform_export": "/home/pi/my-platform.json",

create and save my-platform.json in pi directory then sudo chown -R homebridge:homebridge /home/pi/my-platform.json sudo chmod 777 -R /home/pi/my-platform.json

anthonywebb commented 7 years ago

@DarylMc I'm ready to take the plunge and try out the raspberrypi3 as my interface to homebridge. What I am not finding, but I know has been mentioned several times is the final list of steps I need to take to make it happen? Thanks for all your hard work and help in getting people a solid way to get started with homebridge. I'm excited to check out your handiwork! :)

DarylMc commented 7 years ago

https://onedrive.live.com/?authkey=%21ANlD74Wg0RsHv98&id=142E343EE7CCA768%2119603&cid=142E343EE7CCA768

anthonywebb commented 7 years ago

@DarylMc thanks I will give it a try and get you some feedback!

DarylMc commented 7 years ago

@anthonywebb Thanks to all the folks like yourself who did all the clever stuff. I think the instructions are good and would really like to know how you get on.

DarylMc commented 7 years ago

@anthonywebb I edited spreadsheet just now. Have run through again from scratch to check seems OK Used an existing xml instead of toolkit to get project to pi tag folder this time. Added some instructions to get project xml from PC to SD at the start. Removed a reboot after starting homebridge.timer because it wasn't needed, just added time and could possibly interrupt homebridge first startup.

peterconn commented 7 years ago

Daryl, I have backed up and made and image of my working SD. I will format and start over and try platform.json. I'll buzz ya if I have any issues following your spreadsheet.

DarylMc commented 7 years ago

@peterconn Simon is looking to make some changes so that homebridge.timer is not required. I'm pretty happy with the instructions and ran through them again last night. This time was the first time I used an existing project xml rather than bringing it over with Toolkit.

peterconn commented 7 years ago

@DarylMc im creating an image on my latest working SD. Ill try to use platform.json for import. ill let you know if i have any issues.

DarylMc commented 7 years ago

@peterconn I just did a build from scratch and recorded it on video. I'm going to have to edit it a bit to cut out downloads and breaks but it is only 1hr 30 min. Went really smoothly following the spreadsheet instructions.

DarylMc commented 7 years ago

Much less time than it will take to edit and upload.

peterconn commented 7 years ago

@DarylMc ok cool. Ill give it a go.

DarylMc commented 7 years ago

im hoping success is the first thing i hear back :)

ElphaX commented 7 years ago

Let me know if any edited help is needed, I do that stuff for a living. 👍

I am making a tutorial/showcase video of homebridge and homebridge-cbus that will also be released very soon.

peterconn commented 7 years ago

Instructions worked a treat. I'm trying it again tonight on the second Pi.

DarylMc commented 7 years ago

@EdwinJS @peterconn @anthonywebb Hi EdwinJs I made a video to use in conjunction with the spreadsheet I compiled for beginners like myself. I think it helps make it all look kind of easy. It is quite long. Don't be too harsh on me :) https://www.youtube.com/watch?v=OMFv0r23cgE

peterconn commented 7 years ago

Excellent. Thanks Daryl.

Regards

Peter Constantopedos


From: DarylMc notifications@github.com Sent: Tuesday, July 11, 2017 4:10:51 PM To: anthonywebb/homebridge-cbus Cc: peterconn; Mention Subject: Re: [anthonywebb/homebridge-cbus] help with my-platform.json (#60)

@EdwinJShttps://github.com/edwinjs @peterconnhttps://github.com/peterconn @anthonywebbhttps://github.com/anthonywebb Hi EdwinJs I made a video to use in conjunction with the spreadsheet I compiled for beginners like myself. I think it helps make it all look kind of easy. Some mistakes in there and it is quite long. Don't be too harsh on me :) https://www.youtube.com/watch?v=OMFv0r23cgE&t=808s

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/anthonywebb/homebridge-cbus/issues/60#issuecomment-314339522, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcTxho1JDEDo1js7j3DW7BDX_Kkagnqrks5sMxHrgaJpZM4OI1o2.