Repository navigation
Add an ola_trigger config to control relays using crelay - #1270
Conversation
Add an ola_trigger config to control relays using crelay - https://github.com/ondrej1024/crelay/
gobo-ws
left a comment
There was a problem hiding this comment.
Fixed copy/paste mistake.
There was a problem hiding this comment.
Hi @gobo-ws ,
Can you merge the changes in #1271 and #1272 into this PR please?
If you edit here it will do what is necessary:
https://github.com/gobo-ws/ola/edit/patch-5/tools/ola_trigger/Makefile.mk
|
Hi @peternewman , |
peternewman
left a comment
There was a problem hiding this comment.
Just a few minor comments.
| Laurent (Renzo), Debian packages, FreeBSD & RDM testing. | ||
| Lukas Erlinghagen, win32 port. | ||
| Johan Nilsson, Philips Hue trigger config | ||
| Johan Nilsson, Philips Hue & crelay trigger config |
There was a problem hiding this comment.
Up to you, but you may want to change the Philips Hue bit to include Osram Lightify too now?
There was a problem hiding this comment.
Yeah good point. Updated now.
| @@ -6,6 +6,7 @@ dist_noinst_DATA += \ | |||
| tools/ola_trigger/contrib/mac_itunes.conf \ | |||
There was a problem hiding this comment.
Could we have these in order, so crelay at the top please?
|
|
||
| tools/ola_trigger/FileValidateTest.sh: tools/ola_trigger/Makefile.mk | ||
| echo "for FILE in ${srcdir}/tools/ola_trigger/example.conf ${srcdir}/tools/ola_trigger/test_file.conf ${srcdir}/tools/ola_trigger/contrib/mac_volume.conf ${srcdir}/tools/ola_trigger/contrib/mac_itunes.conf ${srcdir}/tools/ola_trigger/contrib/philips_hue_osram_lightify.conf; do echo \"Checking \$$FILE\"; ${top_builddir}/tools/ola_trigger/ola_trigger${EXEEXT} --validate \$$FILE; STATUS=\$$?; if [ \$$STATUS -ne 0 ]; then echo \"FAIL: \$$FILE caused ola_trigger to exit with status \$$STATUS\"; exit \$$STATUS; fi; done; exit 0" > tools/ola_trigger/FileValidateTest.sh | ||
| echo "for FILE in ${srcdir}/tools/ola_trigger/example.conf ${srcdir}/tools/ola_trigger/test_file.conf ${srcdir}/tools/ola_trigger/contrib/mac_volume.conf ${srcdir}/tools/ola_trigger/contrib/mac_itunes.conf ${srcdir}/tools/ola_trigger/contrib/philips_hue_osram_lightify.conf ${srcdir}/tools/ola_trigger/contrib/crelay.conf; do echo \"Checking \$$FILE\"; ${top_builddir}/tools/ola_trigger/ola_trigger${EXEEXT} --validate \$$FILE; STATUS=\$$?; if [ \$$STATUS -ne 0 ]; then echo \"FAIL: \$$FILE caused ola_trigger to exit with status \$$STATUS\"; exit \$$STATUS; fi; done; exit 0" > tools/ola_trigger/FileValidateTest.sh |
There was a problem hiding this comment.
Could you update this to match above please
|
That's as intended now @gobo-ws . No worries about it, GitHub seems to make it very easy to do the first edit, but harder to do subsequent ones, I've certainly been caught out in the same way in the past. |
Added Osram Lightify
|
Retrospective review if you fancy it @nomis52 . |
Add an ola_trigger config to control relays using crelay - https://github.com/ondrej1024/crelay/