I'm working on getting started on doing some Groovy programming for my hubitat environment. Any getting started tips are apreciated....
I've already been reviewing all the links provided on the Hubitat documentation site, I'm looking for some best practices on...
-
How do you set up your development environment... Do you have a test hub, or are you able to set up a java/groovy dev environment locally on a computer, etc...
-
Any other tools/environments you use/setup go assist in your work
-
Best syntax aware editors?
-
Anything else I should know?
I'm planning on working on a project to do the following:
-
Create an outbound API call which will allow reading of an external calendar (ical, or other calendar type). The use case here is that I own two short term rental properties, and I want to build other automation based on the rental calendar.
-
Based on the calendar work in #1, work with modes (i.e. - manage away vs other modes so that based on the calendar set lights, thermostats, et al appropriate to the status of the house)
-
EIther extend, or create a new version of lock code manager. Allow the data in an external calendar/application (lodgify, Airbnb, VRBO) to drive enabled lock codes on doors.
Thanks in advance for any pointers as I start work on this.
-Vern