![]() My advice - buy an official power supply with switch built in. This combination resulted in a voltage drop enough to give me continuous warnings. I added a switch to the power cable and then added a right-angle adapter.You can easily use a RPi3A+ if you just want wifi.SmartiPi supply an optional metal plate for the bottom to counter balance the display.I cut holes in the back of the case using a cheap, Dremel-style, tool.I get most parts from The Pi Hut and the little bits from eBay.The standard size back of the case is all you need for a standard HAT.Since the photos were taken I have added the fan. You will have to dismantle the whole thing to put them in afterwards. Install the power cables for the fan to the display (step 1 of the SmartiPi instructions) even if you do not intend to use them immediately.Here are the lessons I learned from this one: USB2 Extension cable to run Flirc outside.JustBoom Digi Hat - I run digital output on this player.Add-on switch to that power supply so I can turn it off easily (see notes below).The layout allows for everything to be hidden and adapted to any combination of hardware. It is easily the best looking and most suitable case to make a great looking player. This player uses the latest model, the SmartiPi Touch Pro. SmartiPi Touch Pro with RPi3B+ and JustBoom Digi Hat My goal is simple, to build a player that I do not have to apologise for. There are 3 different players shown here and the various options and tradeoffs are discussed along with shopping lists. Fswitch_onĮdit: I see you edited the post but the syntax is still wrong.This page shows various recipes for using the official touch display and SmartiPi cases from SmartiCase to make a really great looking player. It could also be security (disable authentication on local network), protected switch or something like that. conf file (there are also some extra spaces on your example but perhaps those are because of some copy/paste issue? ) I think it's case sensitive so the string you have there will not work like that but I'm not sure if you just wrote something there and have the correct format in the. I would first verify it ( = http: // url: port / json.htm? Type = Command & param = Switch light & idx = IDXofNEOplug & switchcmd = On) works in the browser. I get the error message in Domoticz saying Invalid ON Action! Harlov wrote:I think I have got it working with savings in /etc/triggerhappy/triggers.d/ but when I need to type in DomoticzĮV_KEY KEY_PLAYPAUSE 1 curl -s "http: // url: port / json.htm? Type = Command & param = Switch light & idx = IDXofNEOplug & switchcmd = On" Log_daemon_msg "Restarting $DESC" "$NAME"ġ) log_end_msg 1 # Old process is still runningĮcho "Usage: $SCRIPTNAME " >&2 ![]() Status_of_proc "$DAEMON" "$NAME" & exit 0 || exit $? ![]() & log_daemon_msg "Stopping $DESC" "$NAME" & log_daemon_msg "Starting $DESC " "$NAME"Ġ|1) & log_end_msg 0 Ģ) & log_end_msg 1 Start-stop-daemon -stop -signal 1 -quiet -pidfile $PIDFILE -name $NAME # restarting (for example, when it is sent a SIGHUP), # If the daemon can reload its configuration without # Function that sends a SIGHUP to the daemon/service # Many daemons don't delete their pidfiles when they exit. Start-stop-daemon -stop -quiet -retry=TERM/30/KILL/5 -pidfile $PIDFILE -name $NAME Start-stop-daemon -start -quiet -pidfile $PIDFILE -exec $DAEMON - \ Start-stop-daemon -start -quiet -pidfile $PIDFILE -exec $DAEMON -test > /dev/null \ # Function that starts the daemon/service # Depend on lsb-base (>= 3.0-6) to ensure that this file is present. # Load the VERBOSE setting and other rcS variables # Read configuration variable file if it is present # Short-Description: triggerhappy hotkey daemonĭAEMON_ARGS="-daemon -triggers /etc/triggerhappy/triggers.d/ -socket /var/run/thd.socket -pidfile $PIDFILE -user nobody /dev/input/event*" ![]() just in case you don't have it, the content of the triggerhappy file in /etc/init.d/ is: thd.1.html) thd -dump /dev/input/event* which dumps all events processable by thd to the console (useful to find out the correct event name for a specific key). by running cat /etc/init.d/triggerhappy - if you are running Jessie it might be something else). Just check that you have a file called "triggerhappy" in /etc/init.d/ (check it e.g. Well, in my Raspbian Wheezy it was running automatically by default, no need to install or do anything. What I do not understand is how to start Trigger Happy (thd). Harlov wrote:I thank you very much for this
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |