News:

The Latest electronic and computer Tips that work!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - branx86

#241
<!DOCTYPE HTML>
<html lang="en-US">
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">   
  <title>Phone Ext. Photo Gallery</title>
 
  <style type="text/css">
#circle

{


border-radius:50% 50% 50% 50%; 


width:100px;


height:100px;




}




  </style>
</head>
<body>

<table width="400" border="0" cellpadding="5">

<tr>

<td align="center" valign="center">
<img src="file:///C:\Users\brobertson.HOUSHUCORP\Pictures\IMG_4066.JPG"id="circle"" alt="description here" />


Bon Ron
</td>



</tr>

</table>




</body>
</html>
#242
Raspberry Pi / Play Video .mp4 from CMD Line
September 25, 2015, 03:40:35 PM
If you don't have the omxplayer  do apt-get -y install omxplayer

To play a video file you just need to type :
        omxplayer myvideo.mp4

If you are using HDMI you should use this command to pass audio over the HDMI interface :
      omxplayer -o hdmi myvideo.mp4
#243
Raspberry Pi / Install XBMC (Kodi)
September 25, 2015, 03:34:40 PM
http://michael.gorven.za.net/

, store the following in /etc/apt/sources.list.d/mene.list
              deb http://archive.mene.za.net/raspbian wheezy contrib

import the archive signing key:  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED

update the package lists: sudo apt-get update

You can then install it as you would with any other package:  sudo apt-get install kodi

The user which you're going to run Kodi as needs to be a member of the following groups:  audio video input dialout plugdev tty

If the input group doesn't exist, you need to create it:  addgroup --system input

and setup some udev rules to grant it ownership of input devices (otherwise the keyboard won't work in Kodi), by placing the following in /etc/udev/rules.d/99-input.rules:  SUBSYSTEM=="input", GROUP="input", MODE="0660"
                                                            KERNEL=="tty[0-9]*", GROUP="tty", MODE="0660"


The GPU needs at least 96M of RAM in order for XBMC to run. To configure this add or change this line in /boot/config.txt:  gpu_mem=128

reboot if you changed this value

To run XBMC, run kodi-standalone from a VT (i.e. not under X). XBMC accesses the display directly and not via Xorg.

If you want Kodi to automatically start when the system boots, edit /etc/default/kodi and change ENABLED to 1:
 
     ENABLED=1

Run sudo service kodi start to test this.


!!!!!!********Flashing an SD card with a prebuilt image********!!!!!!!!!!
unxz raspbian-xbmc-20121029.img.xz
And then copy the image to the SD card device (make sure that you pick the correct device name!)
sudo cp xbmc-20121029-1.img /dev/sdb


Once in Kodi setup Repo's
Step 1: Navigate to the "File manager" tab under the "SYSTEM" menu.
Step 2: Click on the "Add source" option.
Step 3: Select the top text input box marked "<None>" under the "Enter the paths of browse for the media locations" field.
Step 4:  type in "http://fusion.tvaddons.ag"
Step 5: Select the bottom text input box under the "Enter a name for the media Source" field.
Step 6: type in "fusion"
Step 7: Press the "OK" button at the bottom of the window.
Step 8: You'll now notice that "fusion" is listed within the "File manager" window.
Step 9: Return to the main menu, then Navigate to the "Settings" tab under the "SYSTEM" menu.
Step 10: Select the "Add-ons" option from the left side menu bar.
Step 11: Press the "Ok" button when prompted with the "First run help..." dialogue.
Step 12: Select the "Install from zip file" option.
Step 13: Select the "fusion" folder from the listing.
Step 14: You'll now be able to open whichever folder from which you wish to install add-ons for Kodi.
Step 15: choose  "start-here" folder.
Step 16: Navigate to the "Settings" tab under the "SYSTEM" menu.
Step 17: Select the "Add-ons" option from the left side menu bar.
Step 18: Select the "Install from zip file" function.
Step 19: Select the "fusion" folder from the listing.
Step 20: Select the "start-here" folder listed.
Step 21: Click on the "plugin.video.hubwizard-1.1.5.zip" file.
Step 22: Return to the main menu, then Navigate to the "PROGRAMS" menu.
Step 23: Launch the "Config Wizard" program add-on listed.
Step 24: Select your desired platform from the options listed.
Step 25: Click the "Yes" button when prompted to confirm the process.
Step 26: Wait a few minutes while the Config Wizard does it's magic.
Step 27: Once completed, you'll be returned to the main menu.
Step 28: Relaunch the "XBMC" application, then wait about five minutes for any available updates to be installed upon first run.
#244
Raspberry Pi / View Pictures from CMD line (Jpegs,JPG)
September 25, 2015, 03:33:50 PM
make sure fbi is installed. apt-get install fbi


fbi -T 2 IMG_0004.JPG

   -T = What terminal you are viewing.
#245
File called interfaces.
nano or vi    /etc/networks/interfaces
                       #; This files will connect the wireless on boot.
#; =comments

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
auto wlan0

iface wlan0 inet dhcp
wpa-ssid "HS_Wlan1"
wpa-psk "ILoveShuttersToo!"


:) :) :) :)/etc/wpa_supplicant/wpa_supplicant.conf
network={
        ssid="YourSSID"
        psk="password"
        key_mgmt=WPA-PSK
}
network={
        ssid="YourSSID"
        psk="password"
        key_mgmt=WPA-PSK
}
network={
        ssid="YourSSID"
        psk="password"
        key_mgmt=WPA-PSK
}


!!!!! :) :)For WEP connections use   /etc/wpa_supplicant/wpa_supplicant.conf:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="XX88"
        key_mgmt= NONE
        wep_key0=13FF00F436ACF22431A1CAA132
        wep_tx_keyidx=0
}
#246
Windows Fixes / Copy all iTunes and keep sturcture
September 25, 2015, 03:26:25 PM
     Copy the entire iTunes folder to an external hard drive or flash drive (normally the iTunes folder is located under "My Documents" > "My Music").

Connect the external drive to the new computer and copy the iTunes folder to the exact same location it was on the old PC. If there's already an iTunes folder on your new computer, make sure it's empty before you replace it.

   When you open iTunes, hold down the shift key.
    In the new window, click "Choose Library".

Select the file "iTunes Library.itl" from the new iTunes folder.

    Press OK to unfold the "old library" on the new PC.
    That's it. Your playlists, music-files etc. are back in iTunes.
#247
Windows Fixes / Windows 7 Not automounting new Drives
September 25, 2015, 03:15:25 PM
open command prompt

type in diskpart

automount enable
#248
Windows Fixes / Media Center on WIndows 10
September 25, 2015, 03:08:32 PM
Thanks    http://www.windowscentral.com/install-media-center-windows-10


1st. Download and extract WindowsMediaCenter_10.0.10134.0.zip 
2nd Right-click on _TestRights.cmd and click Run as administrator
3rd Reboot your PC
4th Right-click on Installer.cm and click Run as administrator
5th Exit   After the installer runs, click any key to exit
Now, doing a simple search for Media Center reveals the app installed on your PC. You can then pin it to your Start menu or taskbar for quick access.
#249
***!!!!!! If you get a grey screen or it comes on and goes off and USB camera is plugged into Raspberry Pi you may need a Powered USB Hub to make  it work!!!!!!!!!***
1st.
sudo apt-get update

sudo apt-get upgrade

2nd.
sudo apt-get install motion

3rd.
sudo nano /etc/motion/motion.conf

Motion.conf in Wheezy
    daemon on
    webcam_localhost off
    webcam_maxrate 100 (This will allow for real-time streaming but requires more bandwidth)
    framerate 100 (This will allow for 100 frames to be captured per second allowing for smooth video)
    width 640 (This changes the width of the image displayed) 1280 for HD
    height 480 (This changes the height of the image displayed) 720 for HD

Motion.conf in Jessie
-Turn deamon On
-Image resolution 640×480
-output_pictures and ffmpeg_output_movies to Off if you don't want to store pictures/clips on your SD card
-stream_localhost to Off in order to have access to your full network


sudo nano /etc/default/motion
start_motion_daemon=yes


sudo service motion start
ifconfig -a     get IP Address
Check     192.168.?.?:8081

sudo service motion stop      to stop service

***!!!!!! If you get a grey screen or it comes on and goes off  and USB camera is plugged into Raspberry Pi you may need a Powered USB Hub to make  it work!!!!!!!!!***

To create a text_left  new line to stack in camera feed use: %\n     example text_left CAMERA %t FrontDoor%\n0000 Grand Blvd%\nBryan,TX 77054  then it will result to   CAMERA 1
                FrontDoor
                0000 Grand Blvd
                Bryan,Tx 77054




ls  /dev/v4l/by-id/    will list all USB cams
lsusb   will give the address of cams

sudo modprobe bcm2835-v4l2   -If you see a grey picture from camera or no picture at all
#250
Shift + F2
then type restart in windows at the bottom and hit enter.

Firefox will restart and bring all your open tabs back.

Firefox 62 and above use about:profiles   then click on restart firefox
#251
Linux Fixes / CUPS: 426 - Upgrade Required
September 21, 2015, 12:03:17 PM
I didn't want to configure SSL. To get rid of this problem, the key lies in editing your configuration files ( /etc/cups/cupsd.conf ) and adding the following line:

DefaultEncryption Never


service cups restart

and everything should work it should ask you for a username and password.
#252
 :)  You need avahi-daemon and cups to make airprint work!!! :)

1st. Configure your Cups to your printers.

2nd. Edit the CUPS' config file.  located in /etc/cups/cupsd.conf and make the section that looks like:

# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock

look like this:

# Listen on all interfaces
Port 631
Listen /var/run/cups/cups.sock


3rd. Then you need to modify the Apache specific directives to allow connections from everywhere as well. Replace the followin section:

<Location />
# Restrict access to the server...
Order allow,deny
</Location>
<Location /admin>
# Restrict access to the admin pages...
Order allow,deny
< /Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Restrict access to the configuration files...
Order allow,deny
</Location>

to:

<Location />
# Restrict access to the server...
Order allow,deny
Allow all
</Location>
<Location /admin>
# Restrict access to the admin pages...
Order allow,deny
Allow all
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Restrict access to the configuration files...
Order allow,deny
Allow all
</Location>

4th. Restart your cups daemon:

# /etc/init.d/cupsd restart

5th. You should now be able to log into cups on your server with:

https://yourserverip:631



6th.  Create new mime files - This is needed for iOS 6 to recognize CUPS print shares! :

# echo "image/urf urf string(0,UNIRAST<00>)" > /usr/share/cups/mime/airprint.types
# echo "image/urf application/pdf 100 pdftoraster" > /usr/share/cups/mime/airprint.convs


# mkdir /opt/airprint
# cd /opt/airprint
# wget -O airprint-generate.py --no-check-certificate https://raw.github.com/tjfontaine/airprint-generate/master/airprint-generate.py
# chmod +x airprint-generate.py
# ./airprint-generate.py -d /etc/avahi/services
# /etc/init.d/avahi-daemon restart

Do # ls /etc/avahi/services/   You should see something like "AirPrint-Name-of-your-printer".

Just to be sure we we've got everthing. service avahi-daemon restart and service cups restart

                            FYI-- If you need to connect a CUPS to a Windows printer that is connected via usb or parallel port use     smb://user:password@WindowsPC-name/Printer-ShareName  In CUPS server_IP:631 and connect as SMB

#253
Solar Power / Battey Run Time Hours
September 17, 2015, 03:28:33 PM
Volts =V
Amps = A
Watts =W


1st you need to know the wattage of the Items or Item. Use the formula  Volts x Amps = Watts  example freezer 120V x  5A =  600W(Load Watts)  , 12V 80Ah battery 12V  x 80A = 960W

2nd Watts of the battery divide into Watts of the items.   Battery Watts/ Load Watts =Watt Hour   960W/600W = 1.6Hr  Run time Hours (You don't want to run the full 1.6 Hours or you'll destroy your batteries!!!!


and you want to find out how many batteries to run a given item for a certain time frame use this formula: Time / Run time Hours = How many Batteries are needed.         For example 24Hours in 1 day 24 / 1.6 =15 Batteries


AMPS = WATTS / 12 (12 Volt DC system)
WATTS = AMPS x 110 (110 Volts AC is household current & used by appliance manufacturers to compute amps used by their devices)

When device power is listed in WATTS (example used is 120 watts & 153 Amp/hr battery):
120 watts / 12 volts (DC) = 10 amps per hour
153 Ahr / 10 amps = 15 hours run time *
* Built-in safeguards of the Grid Eraser system will shut down the system when the battery reaches approximately 20-24% of its rating resulting in 11 - 12 hours of run time before re-charging the battery is required.

When device power is listed in AMPS (example used is 2 amps & 153 Amp/hr battery)
2 amps x 110 volts (AC) = 220 watts
220 watts / 12 volts (DC) = 18 amps per hour
153 Ahr / 18 amps = 8.5 hours run time x 76%-80% = 6 – 6.8 hours before battery re-charge is required.

These measurements are an approximate "rule of thumb" as all electric/electronic devices will vary somewhat from their power ratings and can be affected by operating temperature, ambient temperature, cord length, level of battery charge, etc.

Keeping the solar panel connected to the charge controller during daylight hours while powering appliances and electronic devices will significantly reduce battery drain resulting in longer run times.

The inverter can power up to 1000 watts but as the calculations show, the battery would be drained in less than 2 hours with that constant load. The 1000 watt inverter is provided with the generator to allow for running high-wattage appliances and tools for short periods of time; such as using a circular saw intermittently, or a microwave. Although a refrigerator may have a high watt rating but the compressor (which requires the high watts) only runs approximately 30% of the time.
Providing solar powered products that don't harm the environment and allow you to start unplugging from the power grid while maintaining your lifestyle.

To know how many min a battery will Run a  item
The Formula is        ( Batt. Voltage * Batt. Amp Hour * Efficiency .9 for 90%) / Item Wattage =  hrs     Then  hrs * 60 = X min of run time
#254
Solar Power / Battery Wattage
September 17, 2015, 03:04:47 PM
Volts = V
Amps = A
Watts = W

(V)olt  X (A)mps = (W)atts
    V 12 x A 80 = W 960


AMPS = WATTS/12 (12 Volt DC system)
WATTS = AMPS x 110 (110 Volts AC is household current & used by appliance manufacturers to compute amps used by their devices)
#255
Solar Power / Battery Sizer
September 17, 2015, 02:58:55 PM
Battery sizer http://www.wholesalesolar.com/solar-information/battery-bank-sizing

Example:
      60watt light for 4 hours , 20watt radio for 2 hours,   100watt laptop for 1 hour
To get a very rough idea of the real value with system loses, multiply by 1.5. This will help account for decreasing performance when temperature increases.
Use the formula total daily energy usage is (60Wx4h)+(20Wx2h)+(100Wx1h) = (620*1.5)=  930 Watt-hours

    Batteries are used in 12volts , 24volts, 48volts
   
   Take the 930Watthours/ 12 or 24 or 48 =   930/12= 78AH Battery