Enable MiLight in Linux

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
NietGiftig
Normal user
Posts: 103
Joined: 16 Sep 2015, 20:32

Enable MiLight in Linux

#1 Post by NietGiftig » 19 Dec 2016, 11:00

Normally I update my rflink with avr-dude on my home-auto Raspi with Domoticz.

Code: Select all

avrdude -v -p atmega2560 -c stk500 -P /dev/ttyUSB0 -b 115200 -D -U flash:w:/home/pi/RFLink.cpp.hex:i
I 'm controlling the Raspi with ssh
Now I have put an NRF24L01 on the arduino to use some MiLight stuff.
In the wiki:
Use the latest RFlink Loader to flash the latest firmware.
After flashing, select the serial port, enable serial port logging and press the button to enable MiLight/NodoNRF.
But I do not use the windows loader program. (I cannot, no MS crap in my house I 'm afraid ;-) )
Questions:
How to send and what commands to enable the milight part.
And are these commands static?.
Or do I have to send them again after reboot or powerloss?

User avatar
Stuntteam
Site Beheer
Posts: 787
Joined: 27 Jan 2016, 16:46

Re: Enable MiLight in Linux

#2 Post by Stuntteam » 19 Dec 2016, 11:21

setting is stored in eeprom.. thus survives reboots
you need to send this command:
10;setMilight=ON;
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

NietGiftig
Normal user
Posts: 103
Joined: 16 Sep 2015, 20:32

Re: Enable MiLight in Linux

#3 Post by NietGiftig » 19 Dec 2016, 12:51

Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests