<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Raspberry pi button does not work on reboot]]></title><description><![CDATA[<p dir="auto">Greetings all:<br />
I love the SDK!  It is working well with my raspberry pi zero, however I have one problem.  I can pair a button, but when I reboot, I have to manually repair the button.  I have started flicd with -v -d and that is running OK.  Since I'm running the raspberry pi headless, is difficult to pair the button manually each time the system reboots.  Any suggestions are appreciated.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.flic.io/topic/17809/raspberry-pi-button-does-not-work-on-reboot</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 08:57:49 GMT</lastBuildDate><atom:link href="https://community.flic.io/topic/17809.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Mar 2020 09:54:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Raspberry pi button does not work on reboot on Thu, 02 Apr 2020 12:39:44 GMT]]></title><description><![CDATA[<p dir="auto">I have figured it out.  When I started flicd through /etc/rc.local it was running as root with no environmental variables, and the data of the buttons was stored in the root directory.  When I ran the exact same command as user pi, the environmental variables were set, PATH, USER etc.  The fix was simple: use full path names for the data base file.<br />
My apologies for wasting your time when the error was mine.</p>
]]></description><link>https://community.flic.io/post/19261</link><guid isPermaLink="true">https://community.flic.io/post/19261</guid><dc:creator><![CDATA[laurence.schenk]]></dc:creator><pubDate>Thu, 02 Apr 2020 12:39:44 GMT</pubDate></item><item><title><![CDATA[Reply to Raspberry pi button does not work on reboot on Tue, 31 Mar 2020 18:57:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/3604">@schenkl</a> Where did you read about the -v option? There is no such thing. See the official readme at <a href="https://github.com/50ButtonsEach/fliclib-linux-hci/blob/master/README.md#usage-of-flicd" rel="nofollow ugc">https://github.com/50ButtonsEach/fliclib-linux-hci/blob/master/README.md#usage-of-flicd</a>. You could also give an absolute path for the db file to avoid it ending up at a wrong place.</p>
]]></description><link>https://community.flic.io/post/19258</link><guid isPermaLink="true">https://community.flic.io/post/19258</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Tue, 31 Mar 2020 18:57:46 GMT</pubDate></item><item><title><![CDATA[Reply to Raspberry pi button does not work on reboot on Tue, 31 Mar 2020 16:25:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/57">@Emil</a><br />
I start flicd with /etc/rc.local  command<br />
"/home/pi/flic/fliclib-linux-hci/bin/armv6l/flicd -f sqlite_db_file.db -v -d"</p>
<p dir="auto">I use the -v flag as i had read that keeps the buttons registered.  But for some reason, flicd is not running after boot.  If I manually run "sudo /etc/rc.local" I see an error,<br />
"invalid option -- 'v'".  flicd is running ok, but no buttons show up.  I can re-register them with simpleclient, but I need to re-register them every time I boot.  So maybe I am erasing the sqlite_db_file.db file?  How do I make sure that I save it?<br />
Thanks for your help!</p>
]]></description><link>https://community.flic.io/post/19257</link><guid isPermaLink="true">https://community.flic.io/post/19257</guid><dc:creator><![CDATA[schenkl]]></dc:creator><pubDate>Tue, 31 Mar 2020 16:25:24 GMT</pubDate></item><item><title><![CDATA[Reply to Raspberry pi button does not work on reboot on Sun, 29 Mar 2020 17:47:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.flic.io/uid/3604">@schenkl</a> I still don't follow. Flicd never initiates connections if you don't ask it to. You need to create a connection channel for a specific button in order to connect to it. Do you do this?</p>
]]></description><link>https://community.flic.io/post/19254</link><guid isPermaLink="true">https://community.flic.io/post/19254</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Sun, 29 Mar 2020 17:47:46 GMT</pubDate></item><item><title><![CDATA[Reply to Raspberry pi button does not work on reboot on Sat, 28 Mar 2020 00:40:55 GMT]]></title><description><![CDATA[<p dir="auto">Update:  after further testing, the issue is that if flicd is restarted then it does not connect with the button; but with a boot then flicd works as expected.....<br />
sorry for the incorrect information...</p>
]]></description><link>https://community.flic.io/post/19252</link><guid isPermaLink="true">https://community.flic.io/post/19252</guid><dc:creator><![CDATA[schenkl]]></dc:creator><pubDate>Sat, 28 Mar 2020 00:40:55 GMT</pubDate></item><item><title><![CDATA[Reply to Raspberry pi button does not work on reboot on Fri, 27 Mar 2020 10:31:08 GMT]]></title><description><![CDATA[<p dir="auto">Do you erase the database file on every reboot?<br />
How have you written your code? Do you extract the paired buttons when you connect to the flicd?</p>
<p dir="auto">Some more info would be good.</p>
]]></description><link>https://community.flic.io/post/19251</link><guid isPermaLink="true">https://community.flic.io/post/19251</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Fri, 27 Mar 2020 10:31:08 GMT</pubDate></item></channel></rss>