Difference between revisions of "Getting Started"

From meteobridge
Jump to: navigation, search
(Initial Connect to a Meteobridge PRO)
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages /><translate>
+
==Initial Connect to a Meteobridge PRO==
<!--T:1-->
+
As the Meteobridge PRO has a display it is rather simple to get connected to it. You can reach out to it in two styles.
__NOTOC__
+
* '''cabled''': When you started the unit first time with a LAN cable connected, it will try to receive an IP address via DHCP from your router. If this is successful the IP will displayed on the front panel. In this case you simply direct your browser to this IP and you can start setting up the unit.
<br />To make a Meteobridge out of the pocket WLAN routers introduced below, you simply have to install an applicable Meteobridge firmware image. Flashing the firmware can mostly be done with the firmware update functions the router's stock firmware does provide. By doing so you will void the manufacturers warranty, but having the cheap price in mind you will certainly not face a substantial financial risk in the unlikely event that you brick the router.  
+
* '''WiFi''': When you started the unit first time without cable connection it comes up as a WiFi access point to allow you easy login with your smartphone, tablet or laptop. SSID to look for with your mobile device is given on the front panel of the Meteobridge PRO. Once you successfully directed your mobile device to connect to this temporary SSID all you have to do is to direct the browser on your device to IP 192.168.1.1. There you find the network configuration page of Meteobridge PRO. Please define network settings Meteobridge should use from now on and press „save and apply and reboot“. Having done this, Meteobridge pro will reboot and will try to connect with the given network credentials. If this works fine, IP of the unit will be displayed on front panel and fast blinking red LED will switch to steady on after a while. Now you are ready to login with your browser to the displayed IP and can start setting up the unit.
 +
You also find instructions in the [https://content.meteobridge.com/files/meteobridge-nano-manual-en.pdf manual].
  
==Flashing Meteobridge Firmware to TL-MR3020== <!--T:2-->
+
==Initial Connect to a Meteobridge NANO==
Please consult the TP-Link manual to understand how to get access with your browser to its web interface. What the manual will tell you is basically that you have to connect your PC/Laptop via Ethernet cable, and log in to the router's web interface (IP is 192.168.0.254, login name is "admin", password: "admin").
+
As the Meteobridge NANO does not have a LAN connector, first contact is made by connecting to the WLAN it sets up by itself. When being logged in there, you can tell the NANO the WiFi credentials it should use for connecting to your Home WLAN on next reboot. Please also consult the [https://admin.meteobridge.com/files/meteobridge-nano-manual-en.pdf manual] for detailed instructions.
When you have access to web interface of TL-MR3020, overwrite factory firmware like a regular firmware update by [http://www.meteohub.de/files/meteobridge-tl-mr3020-v1.4.bin meteobridge-tl-mr3020-v1.4.bin]. Wait until unit restarts. After that it will be a Meteobridge client in standard configuration receiving an IP via DHCP from your router in the LAN.
+
  
==Flashing Meteobridge Firmware to TL-MR3040 (Version 2.x)== <!--T:33-->
+
==Initial Connect to a Raspberry Pi with a Meteobridge SD card inserted==
This firmware image is just valid for the 2.x version of the MR3040. You have a 2.x version of this router if it has the 3G/WSP/AP switch at the side. Please consult the TP-Link manual to understand how to get access with your browser to its web interface. What the manual will tell you is basically that you have to connect your PC/Laptop via Ethernet cable, and log in to the router's web interface (IP is 192.168.0.1, login name is "admin", password: "admin").
+
When your Raspberry Pi has been equipped with a Meteobridge micro SD card, next thing is to connect to the Meteobridge with your browser and to do configuration steps. In its inital state a Meteobridge is configured in LAN mode as DHCP client, expecting an IP from your router. Therefore, it needs to be connected to your router with an Ethernet cable and it needs your router acting as DHCP server and providing an IP address to the Meteobridge as the router also does for your other devices in your LAN.
When you have access to web interface of TL-MR3040, overwrite factory firmware like a regular firmware update by [http://www.meteohub.de/files/meteobridge-tl-mr3040v2-v1.4.bin meteobridge-tl-mr3040v2-v1.4.bin]. Wait until unit restarts. After that it will be a Meteobridge client in standard configuration receiving an IP via DHCP from your router in the LAN. Please note that the TL-MR3040 does not provide slow blinking during boot. So LEDS will mainly stay dark until loading of Meteobridge application stack is indicated by fast blinking. This is just an oddity with the LEDs that does not have an impact on proper operation.
+
Good thing with DHCP is that you don't have to assign an IP manually. Bad thing is, that only your router knows the given IP and as the Meteobridge does not have a display to show you the IP. But don't worry, there a various ways to find out the IP of the Meteobridge in your LAN.
  
==Flashing Meteobridge Firmware to TL-WR703N== <!--T:3-->
+
When Meteobridge is connected to your LAN it will try to receive a dynamic IP from your DHCP server during boot. Wait until blinking of the red LED has stopped. Now there are different ways to find out which IP your Meteobridge has received.
As TL-WR703N does only come with a Chinese web interface, it might be a bit tricky to find the right menu item to initiate firmware update. First you have to login with your browser. To achieve that you have to connect your PC/Laptop via ethernet cable, and log in to the router's web interface (IP is 192.168.1.1, login name is "admin", password: "admin").  
+
 +
==Initial Connect to a "flashed" Meteobridge (not manufactured by smartbedded GmbH)==
 +
When your router platform has been flashed with Meteobridge firmware, next thing is to connect to the Meteobridge with your browser and to do configuration steps. In its inital state a Meteobridge is configured in LAN mode as DHCP client, expecting an IP from your router. Therefore, it needs to be connected to your router with an Ethernet cable and it needs your router acting as DHCP server and providing an IP address to the Meteobridge as the router also does for your other devices in your LAN.
 +
Good thing with DHCP is that you don't have to assign an IP manually. Bad thing is, that only your router knows the given IP and as the Meteobridge does not have a display to show you the IP. But don't worry, there a various ways to find out the IP of the Meteobridge in your LAN.
  
<!--T:4-->
+
When Meteobridge is connected to your LAN it will try to receive a dynamic IP from your DHCP server during boot. Wait until blinking of the largest LED has stopped. Now there are different ways to find out which IP your Meteobridge has received.
When you have access to web interface of TL-WR703N, you select the item at the bottom of the left menu items, marked in light red on the left picture below (system screen). Next you choose sub menu item as marked in light red in the right picture below (flash screen) and browse to target file by pressing light red marked file select dialog in the middle of the screen. You find Meteobridge firmware for this device here: [http://www.meteohub.de/files/meteobridge-tl-wr703n-v1.4.bin meteobridge-tl-wr703n-v1.4.bin].
+
  
<!--T:5-->
+
==Findout Meteobridge IP in your LAN==
<gallery>
+
There are acouple of techniques to find out the IP, your DHCP server (mostly your router) has given the Meteobridge.
File:wr703n-p1.png|system screen
+
File:wr703n-p2.png|flash screen
+
</gallery>
+
  
<!--T:6-->
+
===Lazy Way===
Finally, a "are you sure" dialog will pop up, please press "yes" button and wait until progress bar has reached 100%. Unit will reboot automatically. After reboot it will be a Meteobridge in standard configuration receiving an IP via DHCP from your router in the LAN.
+
When Meteobridge starts it communicates LAN IP and WAN IP to the Internet server, where it loads the application stack from. Therefore you can ask there, what has been the last known LAN IP reported from a Meteobridge sharing the same router and WAN IP with your browsing PC. When Meteobridge and PC are in the same LAN, browsing to this address should tell you the LAN IP to use: [http://magicip.meteobridge.com MagicIP]
  
==Flashing Meteobridge Firmware to WL-330N3G== <!--T:7-->
+
===IP Signaling===  
As ASUS WL-330N3G cannot be flashed by its stock web interface, it is necessary that you setup a TFTP environment on your Host PC to transfer the flash data via Ethernet to WL-330N3G. Using TFTP is quite simple.  
+
Do a short press on the push button on the top (TL-MR3020, WL-330N3G) or on the side (DIR-505) or a short press of the reset button behind the pinhole at the back of the unit (TL-WR703N, TL-MR3040). When you are using Meteobridge on Raspberry Pi you should connect a USB keyboard wait 10 seconds and press key "0" (zero) for 3 seconds.
  
<!--T:8-->
+
Now LED will start signaling the IP.
First of all the router needs to toggled into "TFTP update mode". This is done by keeping the button on the top pressed for 5-10 seconds while doing a power cycle. After a couple of seconds the power LED starts a very slow blinking. You can now release the button. Router now waits for being firmware-updated via TFTP.
+
  
<!--T:9-->
+
Meteobridge will signal its IP by pulsing the LED beneath the pressed button (TL-MR3020) or the blue LED on the top of the device (TL-WR703N) or the green LED opposite to the power LED (TL-MR3040) or the power LED (WL-330N3G, Raspberry Pi). Sequence begins with LED going off, then each of the four numbers (delimited by a dot) will be signaled one by one. The dot between the numbers will be signaled by a "H" (LED shines bright). Each number is signaled by blinking digit per digit. Each digit is represented by a "M" (LED shines medium dimmed) repeated as often as the digit tells us. The zero digit is signaled by ten blinks. After having done this for all digits of all numbers of the IP, the end is signaled by LED staying off a while like it started with. When Sequenze is done, the LED is constantly turned on again.
Sections below describe how to do it for Linux and Windows 7.
+
  
===Flashing via TFTP on Linux=== <!--T:10-->
 
TFTP update does not need any additional software installed, your Linux already has all you need. Flashing is very straight forward, just execute the script below.<pre>#!/bin/sh
 
#
 
if [ "$1" = "" ]
 
then
 
  echo "error: flash sys file missing as parameter"
 
  exit 1
 
else
 
  echo "power cycle WL-330N3G with button pressed and wait"
 
  echo "until power LED does go off and on again. Then "
 
  echo "release button and press <RETURN>."
 
  read a
 
  echo "start flashing..."
 
  ifconfig br0:0 192.168.1.20
 
  echo -ne "binary\ntrace\nrexmt 1\nput $1\nquit\n" | tftp 192.168.1.1
 
  echo "...transfer done."
 
  echo "Wait until unit does reboot (will take at least 2 minutes). "
 
  echo "Do not remove from power during flash process!"
 
fi
 
</pre>
 
The script needs to be called with the flash update file [http://www.meteohub.de/files/meteobridge-wl-330n3g-v1.2.sys meteobridge-wl-330n3g-v1.2.sys] as parameter. Please execute the script as root, otherwise "ifconfig" and "tftp" will not do or will ask for root password. "ifconfig" sets a virtual ethernet adapter with IP 192.168.1.20 on your Linux box, which is the IP the router expects to get the firmware update from.
 
 
===Flashing via TFTP on Windows 7=== <!--T:11-->
 
First you have to enable the TFTP service of your Windows 7. You can do that by
 
# Open Control Panel > Programs and Features
 
# Click "Turn Windows features on or off" on left side menu
 
# Enable "TFTP Client" then click OK button
 
 
<!--T:12-->
 
Next step is to set the IP of your hosts Ethernet adapter to "192.168.1.20". This will disconnect your Host from your network (as far as your equip is not in the 192.168.1.x class c subnet) but it is necessary to use this distinct IP address in order to make the WL-330N3G to accept the flash data transfer.
 
If you dont know how to set your Ethernet adapter to a static IP, please have a look [http://blog.mclaughlinsoftware.com/2009/11/26/windows-7-static-ip/ here].
 
 
<!--T:13-->
 
When TFTP is enabled and IP of your host PC is set to 192.168.1.20 we can start flashing. Please open a CMD shell and type in the command:<pre>tftp -i 192.168.1.1 put flash-file-name</pre> Here ''flash-file-name'' is the name of the image to flash and you find the correct flash file at [http://www.meteohub.de/files/meteobridge-wl-330n3g-v1.2.sys meteobridge-wl-330n3g-v1.2.sys]. When command is done successfully, number of transferred bytes is displayed.
 
 
===Final Flashing Tasks=== <!--T:14-->
 
IP of router in update mode is 192.168.1.1, which hopefully will not do a collision with one of your other devices. If there is a collision, switch off the other devices during flash. After data has been transferred via TFTP you have to wait a couple of minutes until flash process inside the router is done and router restarts itself. Restart switches off all LEDs for a short time. Now it is safe to disconnect the router from power. Interrupting the flash processes by a power cycle will brick the router.
 
 
==Flashing Meteobridge Firmware to DIR-505== <!--T:30-->
 
D-Link DIR-505 can be flashed most easily by the build in "Router Recovery Mode". To get there simply keep the reset button behing the pin hole pressed with the leg of a paper clip until the red led starts flashing slowly. This indicates that DIR-505 is now located at static IP 192.168.0.1 and is ready to upload a new firware. Configure your browsing PC to an IP in the same class-c subnet (192.168.0.123, for example) and browse to 192.168.0.1 and start screen displayed below (on the left) will appear. Web page offered by the router in recovery mode is a bit picky regarding browsers. Safari browser on Mac OS-X does work flawlessly, some other browsers on a Windows environments are reported to have problems. So you might have to try a bit until you have found a browser that can access the routers web content. When your browser don't reach the completed status (picture on the right) the flashing has not be done.
 
 
<!--T:31-->
 
<gallery>
 
File:dir505-flash-1.png|start screen
 
File:dir505-flash-2.png|flashing progress
 
File:dir505-flash-3.png|completed
 
</gallery>
 
 
<!--T:32-->
 
Please download Meteobridge firmware [http://www.meteohub.de/files/meteobridge-dir-505-v1.3.bin meteobridge-dir-505-v1.3.bin] and upload with file dialog offered on the routers recovery web page. When you have selected a file and started upload, the blinking red LED will change to static red and a status bar appears in the browser (picture in the middle) showing percentage of completion. When flashing is done, a message about a successful flashing will be displayed in the browser (picture on the right) and router will restart with a blinking green LED as a Meteobridge, ready to go. Default configuration is LAN mode as DHCP client, expecting an IP from your router.
 
 
==Findout IP== <!--T:28-->
 
When Meteobridge is connected to your LAN it will try to receive a dynamic IP from your DHCP server during boot. Wait until blinking of the largest LED has stopped.
 
Now there are different ways to find out which IP your Meteobridge has received.
 
 
===Lazy Way=== <!--T:29-->
 
When Meteobridge starts it communicates LAN IP and WAN IP to the Internet server, where it loads the application stack from. Therefore you can ask there, what has been the last known LAN IP reported from a Meteobridge sharing the same router and WAN IP with your browsing PC. When Meteobridge and PC are in the same LAN, browsing to this address should tell you the LAN IP to use: [http://magicip.meteobridge.com MagicIP]
 
 
===IP Signaling=== <!--T:15-->
 
Do a short press on the push button on the top (TL-MR3020, WL-330N3G) or a short press of the reset button behind the pinhole at the back of the unit (TL-WR703N, TL-MR3040). Now LED will start signaling the IP.
 
 
<!--T:16-->
 
Meteobridge will signal its IP by pulsing the LED beneath the pressed button (TL-MR3020) or the blue LED on the top of the device (TL-WR703N) or the green LED opposite to the power LED (TL-MR3040) or the power LED (WL-330N3G). Sequence begins with LED going off, then each of the four numbers (delimited by a dot) will be signaled one by one. The dot between the numbers will be signaled by a "H" (LED shines bright). Each number is signaled by blinking digit per digit. Each digit is represented by a "M" (LED shines medium dimmed) repeated as often as the digit tells us. The zero digit is signaled by ten blinks. After having done this for all digits of all numbers of the IP, the end is signaled by LED staying off a while like it started with. When Sequenze is done, the LED is constantly turned on again.
 
 
<!--T:17-->
 
 
Example: IP 192.168.10.77 Legend: M = LED medium dimmed, H = LED shines bright, _ = LED is dark
 
Example: IP 192.168.10.77 Legend: M = LED medium dimmed, H = LED shines bright, _ = LED is dark
  
<!--T:18-->
 
 
<pre>Signal:                                          Comment
 
<pre>Signal:                                          Comment
 
___M___M_M_M_M_M_M_M_M_M___M_M___H              192
 
___M___M_M_M_M_M_M_M_M_M___M_M___H              192
Line 110: Line 41:
 
___M_M_M_M_M_M_M___M_M_M_M_M_M_M___              77</pre>
 
___M_M_M_M_M_M_M___M_M_M_M_M_M_M___              77</pre>
  
<!--T:19-->
 
 
When Meteobridge is connected via LAN it will signal the LAN IP. To get the WLAN IP signaled in that case, please disconnect ethernet cable from meteobridge's LAN port and start IP signaling again. This time WLAN IP will be signaled.
 
When Meteobridge is connected via LAN it will signal the LAN IP. To get the WLAN IP signaled in that case, please disconnect ethernet cable from meteobridge's LAN port and start IP signaling again. This time WLAN IP will be signaled.
  
===Alternative Ways to Find-Out IP=== <!--T:20-->
+
===Alternative Ways to Find-Out IP===
 
If you don't like reading the blinks, you can also use an IP scanner (for example: [http://www.advanced-ip-scanner.com/ Advanced IP Scanner]) or you can look into the logs of your router that provides IPs via DHCP for clients in the LAN/WLAN.  
 
If you don't like reading the blinks, you can also use an IP scanner (for example: [http://www.advanced-ip-scanner.com/ Advanced IP Scanner]) or you can look into the logs of your router that provides IPs via DHCP for clients in the LAN/WLAN.  
  
<!--T:21-->
 
 
When a FAT formatted USB stick is connected to the USB port, a file "network.log" is written to the USB stick in addition to the LED blinking. The file will look like this:<pre>Sat Jan  5 00:23:16 UTC 2013
 
When a FAT formatted USB stick is connected to the USB port, a file "network.log" is written to the USB stick in addition to the LED blinking. The file will look like this:<pre>Sat Jan  5 00:23:16 UTC 2013
 
MAC:    xx:xx:xx:xx:xx:xx
 
MAC:    xx:xx:xx:xx:xx:xx
 
LAN IP:  192.168.123.245</pre>
 
LAN IP:  192.168.123.245</pre>
  
==Cloud Simulator for Network Configuration== <!--T:22-->
+
===Cloud Simulator for Network Configuration===
 
If Meteobridge client cannot connect to your LAN or your LAN does not provide a DHCP service, large LED will not leave fast-blinking mode. To get network settings fixed, you can define the correct network parameters in a simulator in the Internet, which works as follows.
 
If Meteobridge client cannot connect to your LAN or your LAN does not provide a DHCP service, large LED will not leave fast-blinking mode. To get network settings fixed, you can define the correct network parameters in a simulator in the Internet, which works as follows.
 
# Please browse to [http://config.meteobridge.com config.meteobridge.com]. There you will find a simulation of the Meteobridge web interface. Please select the "Setup Network" tab and configure settings as needed for your specific network situation.  
 
# Please browse to [http://config.meteobridge.com config.meteobridge.com]. There you will find a simulation of the Meteobridge web interface. Please select the "Setup Network" tab and configure settings as needed for your specific network situation.  
 
# When settings are done, please press "save" and change to "Download" tab which will cause your browser to start downloading a configuration file named "config.tgz".  
 
# When settings are done, please press "save" and change to "Download" tab which will cause your browser to start downloading a configuration file named "config.tgz".  
 
# Please store that file (as is, do not unpack) on a USB stick formatted as FAT32 and start the Meteobridge with the USB stick plugged into the USB port of Meteobridge. When network settings are right, Meteobridge will stop with slow and fast blinking and turn on the LED constantly.
 
# Please store that file (as is, do not unpack) on a USB stick formatted as FAT32 and start the Meteobridge with the USB stick plugged into the USB port of Meteobridge. When network settings are right, Meteobridge will stop with slow and fast blinking and turn on the LED constantly.
# You can now remove the USB stick, it is no longer needed. When you restart this Meteobridge client with the same USB stick inserted, file "config.tgz" on USB stick will not be used again as it has been marked as used for this specific Meteobridge unit. Nevertheless, the stick can still be used to setup networking of other Meteobridge clients. The stick also holds a log file which reports if an update of network setttings was aplied.
+
# You can now remove the USB stick, it is no longer needed. When you restart this Meteobridge client with the same USB stick inserted, file "config.tgz" on USB stick will not be used again as it has been marked as used for this specific Meteobridge unit. Nevertheless, the stick can still be used to setup networking of other Meteobridge clients. The stick also holds a log file which reports if an update of network settings was applied.
 +
 
 +
==First Login==
 +
When you have done the flashing of your Meteobridge and initial network setup done, you can reach Meteobridge for final configuration with your browser by typing in its IP as URL.
 +
 
 +
As login is protected by a password, your browser will ask for a user name and password. '''Please enter ''meteobridge'' as user and also ''meteobridge'' as password'''. While the user cannot be changed, you can change the password later on. On first login you will be guided to "License" tab, where you have to accept license terms and have to press "Save and Apply" before you can navigate to the other tabs. Sections listed in the setup menu at the left will tell you how to finalize configuration so that your weather data gets finally uploaded to Weather Underground.
  
==First Login== <!--T:23-->
+
Your browser will show you Meteobridge's web interface with a number of tabs. Please go through all these tabs and make the required settings. The page will show warnings for all still missing essentials until you have worked through all of this. It is just a few steps, which will be explained in the setup chapters, page by page.
When you have done the flashing of your meteobridge and initial network setup done, you can reach meteobridge for final configuration with your browser by typing in its IP as URL.  
+
  
<!--T:24-->
+
==Back to Defaults on a Meteobridge PRO==
As login is protected by a password, your browser will ask for a user name and password. '''Please enter ''meteobridge'' as user und also ''meteobridge'' as password'''. While the user cannot be changed, you can change the password later on. On first login you will be guided to "License" tab, where you have to accept license terms and have to press "Save and Apply" befor you can navigate to the other tabs. Sections listed in the setup menu at the left will tell you how to finalize configuration so that your weather data gets finally uploaded to Weather Underground.
+
Whenever you lost connectivity the red LED keeps blinking fast. To get out of this situation, wait until red LED is in fast blinking mode and then press the button behind the pinhole below the LEDs on the front with an unfolded paper clip or a needle. Having done that the Display will show you options to choose from. Each time you press the button the cursor moves to the next item. To activate an item you just have to wait until the progress bar on the right has been running out. These are the options to choose from:
 +
* '''SHOW DETAILS''' does nothing special but shows MAC, IP, Gateway IP, power consumption and temperature/humidity in the Meteobridge.
 +
* '''REBOOT LAN CLIENT''' reboots Meteobridge PRO as a client for your wired LAN. Meteobridge expects a DHCP server in the LAN (mostly your router) to provide IP, network mask, gateway IP and DNS IP. This is the default configuration Meteobridge is shipped with.
 +
* '''REBOOT WIFI AP''' reboots Meteobridge PRO as a WiFi access point. When the reboot is done Meteobridge PRO will show the SSID on the display and will ask you to connect with your mobile device to this WLAN and to browse to 192.168.1.1 where you will find the network configuration page of Meteobridge pro. Being there you can do needed network settings of your Meteobridge PRO to have it operational.  „WiFi access point“ setting is just a temporary measure to allow you to reach network configuration without having the Meteobridge PRO connected to a wired LAN.  
 +
* '''RESET PASSWORD''' resets Meteobridge PRO's HTTP (and SSH) password back to „Meteobridge“.
 +
* '''FACTORY RESET''' deletes all individual settings and reboots the Meteobridge. Data stored on the internal USB storage (like logged historical data) will not be touched.
 +
When you keep the reset button pressed until the vertical progress bar hits the bottom the Meteobridge runs into a shut down. This is useful when you want to power-cycle the unit in a controlled way, not disrupting it in the mid of computing.
  
<!--T:25-->
+
==Back to Defaults on a Meteobridge NANO==
Your browser will show you meteobridge's web interface with 7 tabs. Please go through all these tabs and make the required settings. The page will show warnings for all still missing essentials until you have worked through all of this. It is just a few steps, which will be explained in the setup chapters, page by page.
+
Whenever you lost connectivity the red LED keeps blinking fast. To get out of this situation, wait until red LED is in fast blinking mode and then press the blue button next to the 6-pin header with a pencil, ball pen, or alike. Please make sure not to short circuit anything. There a distinctive reset operations you can choose from as follows:
 +
* '''Reset NANOs WiFi password''' is done when you release the button when first LED flash occurs. After that password needed to connect to the WiFi network the NANO is reset to "meteobridge". This is not the password of your home WLAN, it is the one that protects the WiFi which the NANO is setting up to allow an initial configuration.
 +
* '''Reset HTTP password''' is done when you release the button within the second LED blink. Password for MNANOS web interface is reset to "meteobridge".
 +
* '''Reset to factory defaults''' does a complete reset of the NANO (but does not delete Data on the SD card of a NANO SD). To do so you need to release the button when the LED does the fifth blink.
  
==Back to Defaults== <!--T:26-->
+
==Back to defaults on a Raspberry Pi Meteobridge==
When you have misconfigured the network or system password in a way that you can't no longer reach Meteobridge, you can revert the system back to defaults by pressing the button on the top of TL-MR3020 / WL-330N3G or the reset button of TL-WR703N / TL-MR3040 at the back behind a pin hole. By pushing these buttons (during normal Meteobridge operation, not during boot) you can revert to defaults in three ways.
+
When you have misconfigured the network or system password in a way that you can't no longer reach Meteobridge, you can revert the system back to defaults by connecting a USB keyboard to your Raspberry Pi Meteobridge. Please wait 10 seconds to have the keyboard initialized, then pressing a number key will start reset procedures as follows:
# '''Reset to default network operation''' is done by pressing the button and keeping it pressed until LED goes on again for the first time. Now release button and system will restart with default network configuration, which is LAN DHCP client mode. Network settings done before are still stored inside Meteobridge when unit has started in LAN DHCP client mode, but these will need additional "Save" clicks to be made active again.
+
* '''Reset to default network operation''' is done by pressing the number key "1" for 3 seconds. Meteobridge will restart with default network configuration, which is LAN DHCP client mode. Network settings done before are still stored inside Meteobridge when unit has started in LAN DHCP client mode, but these will need additional "Save" clicks to be made active again.
# '''Reset password''' is done by pressing button and keeping it pressed until LED goes on for the second time. Meteobridge will reboot and will be available with default password via ssh (user root, password meteobridge) and http (user meteobridge, password meteobridge).
+
* '''Reset password''' is done by pressing number key "2" for 3 seconds. Meteobridge will reboot and will be available with default password via ssh (user root, password meteobridge) and http (user meteobridge, password meteobridge).
# '''Reset to factory defaults''' is done by pressing the button and keeping it pressed until LED goes on again for the fifth time. This will delete all user settings changes made to the file system of the unit. Stored historical data will be erased. Licence will remain untouched. Unit will reboot automatically with default network settings and password.
+
* '''Reset to factory defaults''' should only be done as the very last option. When you press number key "3" for 3 seconds Meteobridge will reset some of its settings (not a true factory reset) and will reboot. When you want to go to factory defaults completely, just extrude the micro SD card and copy the Meteobridge disk image to it again.
  
==Flash Again== <!--T:27-->
+
==Back to Defaults on a "flashed" Meteobridge==
When you need to flash a new Meteobridge firmware to your TL-MR3020, TL-MR3040, TL-WR703N or DIR-505, you can do that by calling the URL "http://ip-of-your-meteobridge/cgi-bin/fwupdate.cgi". This will shutdown some running services and will bring you to the openwrt SW stack below Meteobridge application software stack. If your device cannot load Meteobridge application stack from the Internet for some reason, you can also directly access openwrt web interface by browsing to "http://ip-of-your-meteobridge-device/cgi-bin/luci". Login with your Meteobridge password and goto "System" tab. Select sub tab "Backup / Flash Firmware" and use offered "Flash new firmware" section. Unmark "keep settings" option and start flashing. Keep device connected to power, it will restart automatically.  
+
When you have misconfigured the network or system password in a way that you can't no longer reach Meteobridge, you can revert the system back to defaults by pressing the button on the top of TL-MR3020 / WL-330N3G or on the side of DIR-505 or the reset button of TL-WR703N / TL-MR3040 at the back behind a pin hole. By pushing these buttons (during normal Meteobridge operation or when it is stuck at fast blinking, not during boot) you can revert to defaults in three ways.
If you have a WL-330N3G, this always needs to be flashed with the TFTP environment as in setup section for that device explained.
+
* '''Reset to default network operation''' is done by pressing the button and keeping it pressed until LED flashes once. Now release button and system will restart with default network configuration, which is LAN DHCP client mode. Network settings done before are still stored inside Meteobridge when unit has started in LAN DHCP client mode, but these will need additional "Save" clicks to be made active again.
</translate>
+
* '''Reset password''' is done by pressing button and keeping it pressed until LED flashes for a second time. Meteobridge will reboot and will be available with default password via ssh (user root, password meteobridge) and http (user meteobridge, password meteobridge).
 +
* '''Reset to factory defaults''' is done by pressing the button and keeping it pressed until LED has flashed 5 times. This will delete all user settings changes made to the file system of the unit. Stored historical data will be erased. License will remain untouched. Unit will reboot automatically with default network settings and password.

Latest revision as of 16:40, 10 November 2024

Initial Connect to a Meteobridge PRO

As the Meteobridge PRO has a display it is rather simple to get connected to it. You can reach out to it in two styles.

  • cabled: When you started the unit first time with a LAN cable connected, it will try to receive an IP address via DHCP from your router. If this is successful the IP will displayed on the front panel. In this case you simply direct your browser to this IP and you can start setting up the unit.
  • WiFi: When you started the unit first time without cable connection it comes up as a WiFi access point to allow you easy login with your smartphone, tablet or laptop. SSID to look for with your mobile device is given on the front panel of the Meteobridge PRO. Once you successfully directed your mobile device to connect to this temporary SSID all you have to do is to direct the browser on your device to IP 192.168.1.1. There you find the network configuration page of Meteobridge PRO. Please define network settings Meteobridge should use from now on and press „save and apply and reboot“. Having done this, Meteobridge pro will reboot and will try to connect with the given network credentials. If this works fine, IP of the unit will be displayed on front panel and fast blinking red LED will switch to steady on after a while. Now you are ready to login with your browser to the displayed IP and can start setting up the unit.

You also find instructions in the manual.

Initial Connect to a Meteobridge NANO

As the Meteobridge NANO does not have a LAN connector, first contact is made by connecting to the WLAN it sets up by itself. When being logged in there, you can tell the NANO the WiFi credentials it should use for connecting to your Home WLAN on next reboot. Please also consult the manual for detailed instructions.

Initial Connect to a Raspberry Pi with a Meteobridge SD card inserted

When your Raspberry Pi has been equipped with a Meteobridge micro SD card, next thing is to connect to the Meteobridge with your browser and to do configuration steps. In its inital state a Meteobridge is configured in LAN mode as DHCP client, expecting an IP from your router. Therefore, it needs to be connected to your router with an Ethernet cable and it needs your router acting as DHCP server and providing an IP address to the Meteobridge as the router also does for your other devices in your LAN. Good thing with DHCP is that you don't have to assign an IP manually. Bad thing is, that only your router knows the given IP and as the Meteobridge does not have a display to show you the IP. But don't worry, there a various ways to find out the IP of the Meteobridge in your LAN.

When Meteobridge is connected to your LAN it will try to receive a dynamic IP from your DHCP server during boot. Wait until blinking of the red LED has stopped. Now there are different ways to find out which IP your Meteobridge has received.

Initial Connect to a "flashed" Meteobridge (not manufactured by smartbedded GmbH)

When your router platform has been flashed with Meteobridge firmware, next thing is to connect to the Meteobridge with your browser and to do configuration steps. In its inital state a Meteobridge is configured in LAN mode as DHCP client, expecting an IP from your router. Therefore, it needs to be connected to your router with an Ethernet cable and it needs your router acting as DHCP server and providing an IP address to the Meteobridge as the router also does for your other devices in your LAN. Good thing with DHCP is that you don't have to assign an IP manually. Bad thing is, that only your router knows the given IP and as the Meteobridge does not have a display to show you the IP. But don't worry, there a various ways to find out the IP of the Meteobridge in your LAN.

When Meteobridge is connected to your LAN it will try to receive a dynamic IP from your DHCP server during boot. Wait until blinking of the largest LED has stopped. Now there are different ways to find out which IP your Meteobridge has received.

Findout Meteobridge IP in your LAN

There are acouple of techniques to find out the IP, your DHCP server (mostly your router) has given the Meteobridge.

Lazy Way

When Meteobridge starts it communicates LAN IP and WAN IP to the Internet server, where it loads the application stack from. Therefore you can ask there, what has been the last known LAN IP reported from a Meteobridge sharing the same router and WAN IP with your browsing PC. When Meteobridge and PC are in the same LAN, browsing to this address should tell you the LAN IP to use: MagicIP

IP Signaling

Do a short press on the push button on the top (TL-MR3020, WL-330N3G) or on the side (DIR-505) or a short press of the reset button behind the pinhole at the back of the unit (TL-WR703N, TL-MR3040). When you are using Meteobridge on Raspberry Pi you should connect a USB keyboard wait 10 seconds and press key "0" (zero) for 3 seconds.

Now LED will start signaling the IP.

Meteobridge will signal its IP by pulsing the LED beneath the pressed button (TL-MR3020) or the blue LED on the top of the device (TL-WR703N) or the green LED opposite to the power LED (TL-MR3040) or the power LED (WL-330N3G, Raspberry Pi). Sequence begins with LED going off, then each of the four numbers (delimited by a dot) will be signaled one by one. The dot between the numbers will be signaled by a "H" (LED shines bright). Each number is signaled by blinking digit per digit. Each digit is represented by a "M" (LED shines medium dimmed) repeated as often as the digit tells us. The zero digit is signaled by ten blinks. After having done this for all digits of all numbers of the IP, the end is signaled by LED staying off a while like it started with. When Sequenze is done, the LED is constantly turned on again.

Example: IP 192.168.10.77 Legend: M = LED medium dimmed, H = LED shines bright, _ = LED is dark

Signal:                                          Comment
___M___M_M_M_M_M_M_M_M_M___M_M___H               192
___M___M_M_M_M_M_M___M_M_M_M_M_M_M_M___H         168
___M___M_M_M_M_M_M_M_M_M_M___H                   10
___M_M_M_M_M_M_M___M_M_M_M_M_M_M___              77

When Meteobridge is connected via LAN it will signal the LAN IP. To get the WLAN IP signaled in that case, please disconnect ethernet cable from meteobridge's LAN port and start IP signaling again. This time WLAN IP will be signaled.

Alternative Ways to Find-Out IP

If you don't like reading the blinks, you can also use an IP scanner (for example: Advanced IP Scanner) or you can look into the logs of your router that provides IPs via DHCP for clients in the LAN/WLAN.

When a FAT formatted USB stick is connected to the USB port, a file "network.log" is written to the USB stick in addition to the LED blinking. The file will look like this:
Sat Jan  5 00:23:16 UTC 2013
MAC:     xx:xx:xx:xx:xx:xx
LAN IP:  192.168.123.245

Cloud Simulator for Network Configuration

If Meteobridge client cannot connect to your LAN or your LAN does not provide a DHCP service, large LED will not leave fast-blinking mode. To get network settings fixed, you can define the correct network parameters in a simulator in the Internet, which works as follows.

  1. Please browse to config.meteobridge.com. There you will find a simulation of the Meteobridge web interface. Please select the "Setup Network" tab and configure settings as needed for your specific network situation.
  2. When settings are done, please press "save" and change to "Download" tab which will cause your browser to start downloading a configuration file named "config.tgz".
  3. Please store that file (as is, do not unpack) on a USB stick formatted as FAT32 and start the Meteobridge with the USB stick plugged into the USB port of Meteobridge. When network settings are right, Meteobridge will stop with slow and fast blinking and turn on the LED constantly.
  4. You can now remove the USB stick, it is no longer needed. When you restart this Meteobridge client with the same USB stick inserted, file "config.tgz" on USB stick will not be used again as it has been marked as used for this specific Meteobridge unit. Nevertheless, the stick can still be used to setup networking of other Meteobridge clients. The stick also holds a log file which reports if an update of network settings was applied.

First Login

When you have done the flashing of your Meteobridge and initial network setup done, you can reach Meteobridge for final configuration with your browser by typing in its IP as URL.

As login is protected by a password, your browser will ask for a user name and password. Please enter meteobridge as user and also meteobridge as password. While the user cannot be changed, you can change the password later on. On first login you will be guided to "License" tab, where you have to accept license terms and have to press "Save and Apply" before you can navigate to the other tabs. Sections listed in the setup menu at the left will tell you how to finalize configuration so that your weather data gets finally uploaded to Weather Underground.

Your browser will show you Meteobridge's web interface with a number of tabs. Please go through all these tabs and make the required settings. The page will show warnings for all still missing essentials until you have worked through all of this. It is just a few steps, which will be explained in the setup chapters, page by page.

Back to Defaults on a Meteobridge PRO

Whenever you lost connectivity the red LED keeps blinking fast. To get out of this situation, wait until red LED is in fast blinking mode and then press the button behind the pinhole below the LEDs on the front with an unfolded paper clip or a needle. Having done that the Display will show you options to choose from. Each time you press the button the cursor moves to the next item. To activate an item you just have to wait until the progress bar on the right has been running out. These are the options to choose from:

  • SHOW DETAILS does nothing special but shows MAC, IP, Gateway IP, power consumption and temperature/humidity in the Meteobridge.
  • REBOOT LAN CLIENT reboots Meteobridge PRO as a client for your wired LAN. Meteobridge expects a DHCP server in the LAN (mostly your router) to provide IP, network mask, gateway IP and DNS IP. This is the default configuration Meteobridge is shipped with.
  • REBOOT WIFI AP reboots Meteobridge PRO as a WiFi access point. When the reboot is done Meteobridge PRO will show the SSID on the display and will ask you to connect with your mobile device to this WLAN and to browse to 192.168.1.1 where you will find the network configuration page of Meteobridge pro. Being there you can do needed network settings of your Meteobridge PRO to have it operational. „WiFi access point“ setting is just a temporary measure to allow you to reach network configuration without having the Meteobridge PRO connected to a wired LAN.
  • RESET PASSWORD resets Meteobridge PRO's HTTP (and SSH) password back to „Meteobridge“.
  • FACTORY RESET deletes all individual settings and reboots the Meteobridge. Data stored on the internal USB storage (like logged historical data) will not be touched.

When you keep the reset button pressed until the vertical progress bar hits the bottom the Meteobridge runs into a shut down. This is useful when you want to power-cycle the unit in a controlled way, not disrupting it in the mid of computing.

Back to Defaults on a Meteobridge NANO

Whenever you lost connectivity the red LED keeps blinking fast. To get out of this situation, wait until red LED is in fast blinking mode and then press the blue button next to the 6-pin header with a pencil, ball pen, or alike. Please make sure not to short circuit anything. There a distinctive reset operations you can choose from as follows:

  • Reset NANOs WiFi password is done when you release the button when first LED flash occurs. After that password needed to connect to the WiFi network the NANO is reset to "meteobridge". This is not the password of your home WLAN, it is the one that protects the WiFi which the NANO is setting up to allow an initial configuration.
  • Reset HTTP password is done when you release the button within the second LED blink. Password for MNANOS web interface is reset to "meteobridge".
  • Reset to factory defaults does a complete reset of the NANO (but does not delete Data on the SD card of a NANO SD). To do so you need to release the button when the LED does the fifth blink.

Back to defaults on a Raspberry Pi Meteobridge

When you have misconfigured the network or system password in a way that you can't no longer reach Meteobridge, you can revert the system back to defaults by connecting a USB keyboard to your Raspberry Pi Meteobridge. Please wait 10 seconds to have the keyboard initialized, then pressing a number key will start reset procedures as follows:

  • Reset to default network operation is done by pressing the number key "1" for 3 seconds. Meteobridge will restart with default network configuration, which is LAN DHCP client mode. Network settings done before are still stored inside Meteobridge when unit has started in LAN DHCP client mode, but these will need additional "Save" clicks to be made active again.
  • Reset password is done by pressing number key "2" for 3 seconds. Meteobridge will reboot and will be available with default password via ssh (user root, password meteobridge) and http (user meteobridge, password meteobridge).
  • Reset to factory defaults should only be done as the very last option. When you press number key "3" for 3 seconds Meteobridge will reset some of its settings (not a true factory reset) and will reboot. When you want to go to factory defaults completely, just extrude the micro SD card and copy the Meteobridge disk image to it again.

Back to Defaults on a "flashed" Meteobridge

When you have misconfigured the network or system password in a way that you can't no longer reach Meteobridge, you can revert the system back to defaults by pressing the button on the top of TL-MR3020 / WL-330N3G or on the side of DIR-505 or the reset button of TL-WR703N / TL-MR3040 at the back behind a pin hole. By pushing these buttons (during normal Meteobridge operation or when it is stuck at fast blinking, not during boot) you can revert to defaults in three ways.

  • Reset to default network operation is done by pressing the button and keeping it pressed until LED flashes once. Now release button and system will restart with default network configuration, which is LAN DHCP client mode. Network settings done before are still stored inside Meteobridge when unit has started in LAN DHCP client mode, but these will need additional "Save" clicks to be made active again.
  • Reset password is done by pressing button and keeping it pressed until LED flashes for a second time. Meteobridge will reboot and will be available with default password via ssh (user root, password meteobridge) and http (user meteobridge, password meteobridge).
  • Reset to factory defaults is done by pressing the button and keeping it pressed until LED has flashed 5 times. This will delete all user settings changes made to the file system of the unit. Stored historical data will be erased. License will remain untouched. Unit will reboot automatically with default network settings and password.