How to Connect Linovision LoRaWAN Gateway to HTTP(s) Server?

Andy Chen

Description

Linovision LoRaWAN gateways support sending data packets to third party MQTT/HTTP/HTTPS server. We can create a new application on gateway, which can define the method of decoding the data sent from LoRaWAN end-device and choosing HTTP(S) data transport protocol to send data to HTTP(s) server.

 

 

 

Requirement

  • Linovison LoRaWAN Gateway: IOT-G6x, IOT-G8x
  • HTTP/HTTPS Server

 

Configuration

Step1. Enable the gateway built-in network server.

Go to Packet Forwarder > General to enable the localhost server address.

 

 

Enable the Network server on Network Server > General page.

 

 

 

Step2. Add an Application and Profiles.

Go to Network Server > Applications to add a new application, then click save.

Name: user-defined, arbitrary value

Description: user-defined, arbitrary value

Payload Codec: None or custom your decoder

 

 

Go to Network Server>Profiles to add a new profile, then click save.

Name: user-defined, arbitrary value

Max TXPower: default value

Other parameters can be checked from LoRaWAN nodes user guides or you can keep all settings by default.

 

 

 

Step3. Add LoRaWAN nodes to the gateway.

Go to Network Server > Device, add a new device, click save&apply.

Device Name: user-defined, arbitrary value

Description: user-defined, arbitrary value

Device-Profile: choose one of corresponding profiles added before.

Application: choose one of corresponding applications added before.

Other values can be confirmed with the LoRaWAN node manufacturers.

 

When the status of it is “activated”, that’s mean above steps are done correctly.

 

 

 

Step4. Forward data to HTTP(s) server.

Go to Network Server > Applications to add a “data transmission” for the application.

 

 

Fill in the HTTP(s) URL information for each data type, click save.

Uplink data: the URL address to receive all uplink data.

Join notification: the URL address to receive join notification.

ACK notification: the URL address to receive all ACK notification.

Error notification: the URL address to receive all error notification.

 

 

Note: If there is user credentials when we access to HTTP(s) server, please add HTTP header, and fill in correct account and password.

 

 

If we get data packet on the corresponding URL of HTTP server like below, that’s mean we have connected with HTTP server successfully.

 

 

Note: The difference of forwarding data to HTTPS server is that you need upload related gateway certification on your HTTPS server (Contact Linovision to get certification).

Read more →

How to Remotely Control Devices via MQTT on Linovision Gateway

Andy Chen

Description

When working as embedded network server, Linovision LoRaWAN gateways support both sending data packets to third party MQTT/HTTP/HTTPS server or receiving the downlink commands to transfer to LoRaWAN end devices.

 

Requirement

  • Linovision LoRaWAN Gateway: IOT-G56, IOT-G63 V1, IOT-G65, IOT-G67, IOT-G8x (Firmware version 80.0.0.64 or later)
  • MQTT Server/Broker
  • MQTT Client tool: take MQTT Explorer as example

 

Configuration

Step1Connect gateway to MQTT broker.

Refer article How to Connect LoRaWAN Gateway to MQTT Broker?to connect gateway to MQTT broker and ensure the broker and MQTT client can receive uplinks from devices.

 

Step2Send Downlink Command from Gateway

Set the gateway to send downlink commands to device directly to check if the device can receive the downlink commands and take actions.

Device EUI: the device EUI to send downlink commands

Type: downlink command type. For Linovision devices, please select hex type.

Payload: downlink command content (get from device manufacturer). For Linovision devices, please refer to downlink command contents on corresponding user guides

Port: application port of device. It is 85 by default for Linovision devices.

Confirmed: after enabled, the device will send confirmed packet back to gateway if it receives the command. If not receive, the gateway will resend the downlink command 3 times at most.

Note: for class A type devices, the gateway will add the command to queue and send it when the class A device send uplinks.

 

 

 

Step3. Publish Topic on MQTT Explorer to send downlink data to device. 

Set a Downlink Data topic. If you need to send MQTT downlink to specific device, please add “$deveui” on the topic.

Example: /linovision/downlink/$deveui

  

 

Publish Topic Format :

/linovision/downlink/[devEUI]

Example :

From the gateway, we can get the device EUI about the device we want to control:

 

 

So we can publish a topic on the MQTT Explorer like below:

Topic: /linovision/downlink/24e124126a148401

Format: json

Content: 

send as below format and replace the data content as downlink command

{"confirmed": true, "fport": 85, "data": "CQEA/w=="}
JavaScript

 

After click Publish, we can go to Network Server > Packets to check. If the gateway have subscribe corresponding downlink topic data successfully, there will be at least one grayed message packet record.

 

 

Linovision Device Command Examples

The MQTT downlink command format is fixed as below:

{
"confirmed": true,       //Set as true or false
"fport": 85,            //application port of device
"data": "BwAA/w=="    //base64 format downlink command
}
JavaScript

For Linovision devices, click here to convert hex format command to base64 format. Here are Linovision controller common commands:

Model

Command

Command (Hex)

Command (base64)

IOT-C50x

Set GPIO1 low

Set GPIO1 high

Set GPIO2 low

Set GPIO2 high

030000ff

030100ff

040000ff

040100ff

AwAA/w==
AwEA/w==
BAAA/w==
BAEA/w==

IOT-C300

Set DO1 low

Set DO1 high

Set DO2 low

Set DO2 high

070000ff

070100ff

080000ff

080100ff

BwAA/w==
BwEA/w==
CAAA/w==
CAEA/w==

IOT-C11xx

Set DO1 low

Set DO1 high

Set DO2 low

Set DO2 high

090000ff

090100ff

0a0000ff

0a0100ff

CQAA/w==
CQEA/w==
CgAA/w==
CgEA/w==

 

----END---

Read more →

How to Connect LoRaWAN Gateway to MQTT Broker?

Andy Chen

Description

When working as embedded network server, Linovision LoRaWAN gateways support sending data packets to third party MQTT/HTTP/HTTPS server. We can create a new application on gateway, which can define the method of decoding the data sent from LoRaWAN end-device and choosing MQTT data transport protocol to send data to MQTT server.

 

 

Requirement

  •  LoRaWAN Gateway: IOT-G8x (Firmware version 80.0.0.64 or later), IOT-G65, IOT-G67, IOT-G56, IOT-G63 V1
  • MQTT Server/Broker
  • MQTT client tool: take MQTT Explorer as example

 

Configuration

Step1. Enable the gateway built-in network server.

Go to Packet Forwarder > General to enable the localhost server address.

 

 

Enable the Network server on Network Server > General page.

 

 

 

Step2. Add an Application

Go to Network Server>Applications to add a new application, click save.

Name: user-defined, arbitrary value

Description: user-defined, arbitrary value

 

 

 

 

Step3. Connect gateway to MQTT broker.

Go to Network Server > Applications to add a “data transmission” for the application. One application can add only one MQTT integration.

 

 

 

 

 

Fill in the MQTT broker information and create topic to store different data type, click save.

Broker Address: IP address/domain of MQTT broker

Broker Port: communication port of MQTT broker

Client ID: user-defined, a unique ID identity of the client to the server.

User Credentials and TLS should be enabled and configured as required.

Note: if MQTT broker is HiveMQ, please do enable TLS and set the option as CA signed server certificate.

 

 

After MQTT configuration complete, you can check connection status here:

 

 

Step4. Add LoRaWAN nodes to the gateway.

Go to Network Server>Profiles to add a new profile, then click save. You can also use pre-defined profiles.

Name: user-defined, arbitrary value

Max TXPower: default value

Other parameters can be checked from LoRaWAN nodes user guide or you can keep all settings by default.

 

 

 

Go to Network Server>Device to add a new device, click Save&Apply.

Device Name: user-defined, arbitrary value

Description: user-defined, arbitrary value

Device-Profile: choose one of corresponding profiles added before.

Application: choose one of corresponding applications added before.

Other parameters can be confirmed with the LoRaWAN node manufacturers.

 

 

When the status shows as below, that’s mean above steps are done correctly.

 

 

 

Step5. Add uplink data topic.

Customize the uplink data to publish to MQTT broker and save the settings. If you add “$deveui” on your topic, you can replace it as real device EUI when subscribing topics. 

Example: /linovision/uplink/$deveui

 

 

 

 

Step6. Subscribe topic from MQTT client to get uplinks.

MQTT explorer is a comprehensive MQTT client and it can be replaced to other kinds of MQTT client tools(MQTT.fx, MQTT Box, etc.)

Open the MQTT Explorer, and fill in related MQTT server information in the popup window.

Name: user-defined

Protocol: mqtt://

Host: MQTT broker address

Port: broker port

User name/Password: if there is user credentials, please fill in it. If not, keep them blank.

 

 

Click ADVANCED,copy the Uplink data topic on the gateway, and paste it on the MQTT explorer, click +ADD.

 

  

 

Keep MQTT client ID by default,then click BACK and click CONNECT.

 

 

After while, the data will be forwarded to MQTT broker and the MQTT Exploerer can receive the data from MQTT server.

 

The uplink format is fixed as json and the content is as below.

 

{
  "applicationID": 1,                   // application ID
  "applicationName": "cloud",           // application name
  "deviceName": "24e1641092176759",     // device name
  "devEUI": "24e1641092176759",         // device EUI
  "time": "2020-0327T12:39:05.547336Z", // uplink receive time
  "rxInfo": [                           // lorawan gateway information related to lora
    {
      "mac": "24e124fffef021be",        // ID of the receiving gateway
      "rssi": -57,                      // signal strength (dBm)
      "loRaSNR": 10,                    // signal to noise ratio
      "name": "local_gateway",          // name of the receiving gateway
      "latitude": 0,                    // latitude of the receiving gateway
      "longitude": 0,                   // longitude of the receiving gateway
      "altitude": 0                     // altitude of the receiving gateway
    }
  ],
  "txInfo": {                           // lorawan node tx info
    "frequency": 868300000,             // frequency used for transmission
    "dataRate": {
      "modulation": "LORA",             // LORA module
      "bandwidth": 125,                 // bandwidth used for transmission
      "spreadFactor": 7                 // spreadFactor used for transmission
    },
    "adr": false,                       // device ADR status
    "codeRate": "4/5"                   // code rate
  },
  "fCnt": 0,                            // frame counter
  "fPort": 85,                          // application port
  "data": "AWcAAAJoAA=="                // base64 encoded payload (decrypted)
}

 

 

If you need to send downlink commands from MQTT client, please refer to article How to Remotely Control Devices via MQTT on Linovision Gateway.

 

 

FAQ

Q1.How to send decoded or customize uplink content to MQTT broker?

A1:  Yes, this needs to use Payload Codec feature on the gateway. Reference articles:

IOT-G56/G65/G67: How to Use Payload Codec on Linovision Gateway

IOT-G63 V1/G8x: How to Use Payload Codec on Linovision Gateway (Old)

 

Q2.What’s the troubleshooting when the status of MQTT server connection is “Disconnected”.

 

 

A2: 

1) Go to Maintenance > Tools >Ping , check if the gateway can ping to the broker address successfully.

 

 

 

2) Check if your MQTT client tool can connect to MQTT broker well, then follow the settings of MQTT client tool to configure the gateway.
3) Check if the gateway MQTT client ID is conflict with other MQTT clients.
4) Check if CPU load is too high, and if there is little available RAM and eMMC.
5) Change the log severity to Debug and replicate the disconnection problem, then download all log files and send them to support@linovision.com.

 

 

 

Q3.Why the connection status shows “connected” but MQTT client does not receive any data?
A3:
1)Ensure the devices has been added to gateway and go to Network Server > Packets to check if there are uplink packets from devices regularly.
2) Ensure the devices has been added to the correct Application.
3) Ensure the gateway firmware is upgraded to latest version. 
4) Change the log severity to Debug and replicate the disconnection problem, then download all log files and send them to support@linovision.com.

 

 

 

Read more →

90W 802.3bt PoE Powering any Ethernet Device with a Single Ethernet Cable

ChenAndy

The new IEEE 802.3bt Power over Ethernet (PoE) standard allows standard Ethernet cables to carry up to 90 W of power, opening the doors to almost any Ethernet device being powered by a single Ethernet cable. Yet despite being in the market for over a decade, PoE technology is often shrouded in a cloud of mystery and confusion.

While the latest standard adds new features beyond increased power delivery, it is also more complex than previous standards. But take heart, this article will introduce you to PoE basics and some new features in the 802.3bt standard, as well as give you enough background to make complex PoE white papers, app notes, and datasheets understandable.

The PoE Connection

“Being powerful is like being a lady. If you have to tell people you are, you aren't.” —Margaret Thatcher

On the surface, PoE sounds complex: Inject high power onto a cable designed for data without disrupting the high-speed traffic the cable is carrying. Fortunately, the Ethernet standard and the cable design greatly simplify this technology. As shown in Figure 1, inside the Ethernet cable itself are four twisted pairs of wires. Ethernet is an isolated network, so each twisted pair connects to a transformer. All PoE does is inject a dc voltage (~54 V) onto the twisted pairs of the Ethernet cable through center taps on the transformers.

1. Inside the Ethernet cable are four twisted pairs of wires. IEEE 802.3af/at powers two of the four twisted pairs and IEEE 802.3bt powers all four twisted pairs.

In a two-pair power configuration (802.3af, 802.3at), one twisted pair is positive and the other is negative. In a four-pair power configuration (802.3bt), two twisted pairs are positive and two are negative. The power-sourcing equipment (PSE) is the device putting power onto the cable, and the powered device (PD) is the device taking power off of the cable.

Finally, the PoE standards enable the PSE to power the twisted pairs in either polarity. Therefore, the PD must have input bridges (diodes or FETs) to set the polarity of the incoming power.

Detection

“Eighty percent of success is showing up.” —Woody Allen

Now we know how to put power onto the Ethernet cable, so the PSE can just blast power down the cable whenever something is connected, right? Wrong! Applying power to a non-PoE device can damage it. PoE starts with a detection phase in which the PSE determines if the connected device is a PD requesting power. The PSE applies two voltages between 2.7 and 10.1 V onto the Ethernet cable, and the PD presents a 25-kΩ resistance, signaling to the PSE that a valid PD is connected (Fig. 2).

 

2. The PSE injects between 2.7 and 10.7 V onto the Ethernet cable and measures the current to check for a valid detection signature of 25 kΩ

Classification

“Never sacrifice your class to someone who has none.” —Unknown

.Once a valid PD is detected, the PSE and PD then do an analog handshake known as “classification,” in which the PD requests a power “class” and the PSE then tells the PD what class is granted. PoE technology uses the terms type and class when discussing power. Type simply denotes the kind of analog handshake from the PSE. Class defines the maximum power the PSE will put onto the cable and the maximum power the PD can draw from the cable. Because PoE follows the Ethernet standard, the cable can be up to 100 meters in length, so a fair amount of power is lost in the cable. The table lists the various PoE types and classes.

The IEEE PoE standards specify the power from the PSE and the power delivered to the PD.

Let’s start with the simplest classification handshake, type 1 (Fig. 3). The PSE puts 15.5-20.5 V onto the cable and measures the PD’s current draw. Due to cable loss, the PD will see 14.5-20.5 V from the PSE during classification. Based on the PD’s current draw, the PSE determines the PD’s requested class and either powers it on or, if the PSE doesn’t have sufficient power, doesn’t apply power.

3. The voltage waveforms seen by the PD during type 1 detection, classification, and power on.

The amount of current drawn by the PD during classification is, confusingly enough, referred to as the classification signature or classification current. 802.3bt defines five classification signatures the PD can draw during classification.

Type 2 builds on type 1 by adding a second classification pulse (Fig. 4). During classification, the PD draws 40 mA (classification signature 4) to signal class 4 to the PSE. A type 1 PSE simply sees this as a request for class 3 power and proceeds to power the PD. A type 2 PSE responds to the higher current by lowering the classification voltage to a “mark” voltage to create a pulse. It then repeats this procedure to create a second classification pulse and powers the PD. The two classification pulses signal to the PD that class 4 power has been granted by the PSE.

4. The voltage waveforms seen by the PD during type 4 detection, classification, and power on.

Here’s where you come in as the PD designer. A PD requesting class 4 might not get it from the PSE. It might receive less than it asked for through “power demotion,” and your design will need to make do with less power. Keep reading—we will get there in a few more paragraphs.

Now the moment you’ve been waiting for: 802.3bt classification (Fig. 5). As you might have guessed, it’s very similar to type 1 and 2; it just adds more classification pulses. Type 3 increases the number of classification pulses to four, and type 4 uses five pulses.

5. More classification pulses are involved with 802.3bt classification.

When a PD requests type 3 or 4 power, it draws 40 mA (classification signature 4 current) for the first two pulses and then lowers its current draw to the classification signature 3, 2, 1, or 0 level for the subsequent pulses. The lower current tells the PSE how much power the PD is requesting. In fact, after the third pulse, the PSE has determined how much power the PD wants, and the additional pulses simply tell the PD how much power is being granted by the PSE.

If the PSE generates four classification pulses, then the PD is granted type 3 power. Five classification pulses signal the PSE granting type 4 power to the PD. In other words, if the PD asked for class 7 or 8 power and the PSE grants type 4, then the PD gets the power it requested. Likewise, if the PD requests class 5 or 6 and the PSE grants type 3, then the PD receives the power it requested. With this information, you now know the key aspects of 802.3bt PoE classification.

But wait, what’s this long first classification pulse, you might ask? And what happens if the PSE doesn’t grant the PD the power it requests? Hold that thought, we will get there shortly. 

Power Demotion

“Tact is the ability to tell someone to go to hell in such a way that they look forward to the trip.” —Winston Churchill

Most PoE-enabled Ethernet switches don’t have enough power capacity for full power on each PoE Ethernet port, especially at 90 W per port, which adds up quickly. The PoE standard provides a simple way for the PSE to still power a PD but with less power than the PD requested—this is called power demotion. When a PSE demotes a PD, it assigns it a lower type than the PD requests. Because PSEs can only assign type to a PD, when a PD is demoted to a lower type, it’s automatically assigned the highest power level within that type. Let’s look at two examples of how this works.

Example 1: A PD requests class 8 power, but the PSE only has class 6 power available. In this scenario, the PSE demotes the PD to type 3, and the PD receives class 6 power.

Example 1: A PSE with class 6 power available demotes a PD requesting class 8 to type 3, resulting in the PD receiving class 6 power.

Example 2: A PD requests class 8 power, but the PSE only has class 5 power available. Because the PSE can only demote the PD by type, it can’t assign the PD class 5 power. If it granted the PD type 3 power, the PD would be assigned class 6 power. Instead, it must demote the PD to class 4, type 2 power.

Example 2: A PSE with class 5 power available demotes a PD requesting class 8 to type 2, resulting in the PD receiving class 4 power.

As a system designer, you understand what’s important here is to recognize the different power demotion options available to the PSE based on the class the PD is requesting. A class 8 PD may be demoted to class 6, class 4, and class 3 power. To ensure full compatibility, the PD system needs to operate at all four power levels. Otherwise the PSE will shut down the connected PD for drawing too much power. Most PD devices on the market include some method for communicating the received type back to the main PD system controller, such as two digital pins or a comm port.

Power On

“The measure of a man is what he does with power.” —Plato

Power on is the final stage of a PD receiving power. The IEEE PoE spec includes the inrush current that a PD may draw during power up. Most modern PD devices include built-in inrush current limiting. All the designer needs to do is follow the PD device’s recommended input capacitance and let it take care of the rest.

Maintain Power Signature

“Power does not corrupt. Fear corrupts. Perhaps the fear of a loss of power.” —John Steinbeck

The previous PoE standards include the concept of Maintain Power Signature (MPS). If a PD draws less than 10 mA of current, the PSE disconnects the PD. The MPS feature enables the PD to draw short pulses of current to maintain the connection to the PSE when the PD system is in a low-power state.

The new 802.3bt standard introduces a shorter MPS pulse to maintain the PSE connection, allowing PDs to enter an even lower-power state. Remember the long first class pulse from the type 3 or 4 PSE? This signals to the connected PD that the PSE supports short MPS, and the PD may use short MPS pulses to maintain the connection.

Just like with inrush, most 802.3bt PDs automatically switch to short MPS when connected to a PSE that supports the feature. Short MPS allows the system to enter a lower-power state than with previous PoE standards.

Autoclass, LLDP, and Closing Thoughts

“You must never try to make all the money that’s in a deal. Let the other fellow make some money too, because if you have a reputation for always making all the money, you won’t have many deals.” —J. Paul Getty

There’s one last new feature in the 802.3bt standard worth mentioning—autoclass. With autoclass, a PD draws the maximum power it will ever consume shortly after power up. This allows the PSE to measure the actual power the PD will consume and adjust power allocation accordingly. A PD may request class 8 (90 W) of power, but in reality, only draw 80 W. With autoclass, the PSE can measure this and then have 10 W of power to provide to other PDs in the system.

Another advanced feature of PoE is the Link Layer Discovery Protocol (LLDP). Ethernet networks have used LLDP for years to enable switches and routers to discover various details using the data layer. PoE adds an extension to LLDP for the PSE and PD to also communicate information over the data layer. For example, LLDP allows the PSE and PD to renegotiate power in one-tenth-of-a-watt increments, possibly freeing up power for the PSE or granting the PD slightly more power.

The 802.3bt standard brings unprecedented levels of both literal and figurative power to PoE system designers. In addition, it delivers several useful new features, such as short MPS, that bring more flexibility to PoE connected systems. With the ubiquitous nature of Ethernet networks and the higher power of 802.3bt PoE, more and more systems will take advantage of this technology to eliminate external power supplies.

Read more →

How safe is Power over Ethernet?

Andy Chen

Power over Ethernet (PoE) emerges as a game-changer, seamlessly powering devices and transmitting data through a single cable. From security cameras to Wi-Fi networks, PoE has become ubiquitous. Yet, questions persist about its safety when mixing electricity and data.

To address these concerns, we conducted a striking experiment, submerging a powered PoE switch's RJ45 connector in water alongside a hand. Despite the unconventional scenario, PoE technology's safety features shine. With low voltage operation, active power management, and built-in protection mechanisms, PoE proves itself resilient against electrical hazards.

This demonstration not only reaffirms PoE's safety but also instills confidence in its reliability for network administrators and users. While extreme conditions are not the norm, understanding PoE's safety capabilities dispels doubts and underscores its suitability for powering network devices securely. Join us as we unravel the safety of Power over Ethernet, redefining modern connectivity standards.

Read more →

PoE Power Sourcing Equipment (PSE) FAQs

Andy Chen

To enhance comprehension of the PoE network system, it is essential to become acquainted with the PoE devices, as the initially published IEEE802.3af standard categorized Power over Ethernet (PoE) technology into two primary types of power devices: power sourcing equipment (PSE), which supplies power over the Ethernet cable, and powered devices (PD), which receive the power. Presented below is an introduction to power sourcing equipment and a selection of frequently asked questions.

Q: What Is PoE PSE?

A: PoE PSE, an acronym for Power Sourcing Equipment in Power over Ethernet (PoE) systems, represents the equipment responsible for delivering power to PoE PDs (Powered Devices). PoE PSEs detect and categorize the connected PoE devices, monitor power consumption, and allocate power to the devices based on their specific power requirements.

Q: What Are the Differences Between PoE PD and PoE PSE?

A: In a Power over Ethernet (PoE) system, two fundamental elements exist: PoE PD (Powered Device) and PoE PSE (Power Sourcing Equipment).

  • PoE PSE (Power Sourcing Equipment): PoE PSE denotes the equipment supplying power to PoE PDs. It can take the form of a PoE switch or a PoE injector. The PoE PSE injects power into the Ethernet cable, alongside data signals, enabling connected PoE PDs to receive both power and data through a single cable. It serves as the power source for PoE devices.

  • PoE PD (Powered Device): PoE PD refers to the device that draws power from the PoE network infrastructure. It encompasses various device types, such as IP phones, wireless access points, IP cameras, and network switches. The PoE PD consumes power from the PoE PSE, allowing it to operate without the need for a separate power source. Typically, it features an Ethernet input for data communication and a power input to receive power from the PoE PSE.

Q: What Are the Common PoE PSEs?

A: PoE PSE (Power Sourcing Equipment) is vital for providing power to PoE-enabled devices in a network. Although the variety of PoE PSE devices is more limited compared to the diverse range of PoE PDs, there are several commonly deployed types in modern PoE networks. These include PoE switches, PoE injectors, PoE NVRs (Network Video Recorders), and PoE media converters. Here is an overview of these commonly used PoE PSE devices:

 

  • PoE Switch: The PoE network switch integrates PoE injection, allowing it to transmit both data and power over a single Ethernet cable directly to the connected PD.

  • PoE Injector: PoE injector is used to add PoE capability to regular non-PoE network connections. It injects power into the data stream originating from a non-PoE switch and delivers both power and data to the PD via an Ethernet cable.

  • PoE NVR: PoE NVR (Network Video Recorder) incorporates built-in PoE injection. It is commonly employed in IP video surveillance systems, responsible for encoding and processing video data from IP cameras and recording it for storage and remote viewing. The PoE NVR can also supply power to IP cameras via Ethernet cables.

  • PoE Media Converter: PoE media converter facilitates the connection between fiber cabling and a copper network while concurrently providing PoE power to PoE PDs like IP cameras and VoIP phones.

  • PoE Splitter: The PoE splitter is capable of delivering power, but its primary function is to provide power to non-PoE terminal devices. It accomplishes this by splitting power from the data stream and delivering it to the non-PoE device through a separate power supply cable. PoE splitters are advantageous for deploying remote non-PoE devices without nearby AC outlets.

Q: Do I Still Need A PoE Injector if I Have a PoE Switch?

A: If you have a PoE switch, there is no requirement for a PoE injector. When utilizing a standard PoE switch, the power connection is already included, rendering the use of an injector unnecessary. However, if you are utilizing a non-PoE switch, a PoE injector becomes essential for supplying power to PoE PDs like IP cameras, as non-PoE switches do not provide power to PoE devices. It is worth noting that PoE injectors are typically suitable for smaller-scale PoE networks with only a few PDs. For networks with a larger number of PDs, opting for a PoE switch is a more advantageous choice.

Q: Can I Use A PoE Switch with NVR?

A: Yes, you can. A PoE switch not only functions as a hub but also has the capability to provide power to an NVR (Network Video Recorder) without requiring an external power source or additional power cables. This feature significantly reduces installation costs and simplifies cabling complexity, as both power and video can be transmitted over a single Cat5 cable.

Q: Can I Use a Media Converter with PoE Switch?

A: Certainly. It is true that PoE switches have a distance limitation of 100 meters for Ethernet cables. However, when we need to extend beyond this limit, a PoE media converter becomes an excellent solution. A PoE media converter addresses the distance challenge by providing a copper-to-fiber connectivity solution. It serves as the PoE PSE on the copper side, enabling the powering of PDs while extending the network over fiber optic cables to reach greater distances. This allows us to overcome the 100-meter limitation of PoE switches.

Q: Can I Use a PoE Splitter as a PoE Injector?

A: No, PoE splitters and PoE injectors are distinct types of PoE devices that can often lead to confusion. As mentioned earlier, PoE injectors are utilized with non-PoE switches to provide power to PoE devices connected to them. On the other hand, PoE splitters are used in conjunction with PoE PSEs (Power Sourcing Equipment) and separate the data and power signals onto separate cables for non-PoE devices.

To provide a clearer understanding, please refer to the accompanying figure which illustrates the typical applications of PoE splitters and PoE injectors:

Conclusion

With the increasing need for streamlined installations and the recent adoption of standards to support a broader range of smart devices, the adoption of Power over Ethernet (PoE) technology is anticipated to witness significant growth in the future. Consequently, it becomes crucial for us to gain a comprehensive understanding of the aforementioned PoE PSE devices, particularly when making purchasing decisions for establishing PoE networks. This knowledge will enable us to make informed choices and effectively build PoE infrastructure to meet our requirements.

Read more →

How to Choose the Suitable PoE Switches for IP Camera Systems?

Andy Chen

IP cameras play a crucial role in business surveillance systems, providing visibility and insights into your operations. They are equally popular for home security purposes. PoE switches for IP cameras have become increasingly common, simplifying cabling by combining power and data transmission over a single Ethernet cable. These switches offer versatile solutions for both home and business surveillance needs. In this article, we will discuss the key factors to consider when choosing a PoE switch, share some purchasing tips, and empower you to make an informed decision that aligns with your specific requirements.

Why Use the PoE Switch for IP Camera Systems?

  • Power and Data Integration: The PoE switch efficiently combines power and data transmission on a single line, eliminating the need for separate power supplies for each camera or traditional power boxes.
  • Extended Cable Runs: PoE switches enable longer distance connections without concerns about voltage loss or cable quality. While Ethernet is typically limited to 328 feet, the range can be easily extended by using PoE network switches or extenders. This flexibility is particularly beneficial for outdoor and large-scale surveillance setups.
  • Simplified Cabling: With PoE technology, both power and data can be transmitted through a single Ethernet cable. This simplifies the cabling process and reduces installation costs.
  • Multiple Device Connectivity: PoE switches are available in various port configurations, allowing you to connect multiple IP cameras and other PoE devices to a single switch. This facilitates efficient management and scalability within your surveillance system.

How to Choose The Suitable PoE Switch for IP Camera Systems?

Factors to Consider When Choosing a PoE Switch for IP Security Cameras:

  1. Port Speed, Port Numbers, and Power Requirements: Consider the bandwidth capacity offered by the PoE switch, such as fast-Ethernet switches (10-100 Mbps) or gigabit switches (1 Gbps). Evaluate the number of ports needed to connect your IP cameras and ensure their power requirements are supported.
  2. Power Supply Voltage: Verify that the switch's power supply voltage matches the voltage requirements of your IP cameras to prevent malfunctions and potential damage.
  3. Power Budget: Assess the switch's power budget, which is the maximum wattage it can provide. Make sure the total wattage required by the connected devices, including IP cameras, does not exceed the switch's maximum power budget. Check the budget per port to ensure it can adequately power your cameras.
  4. Managed vs. Unmanaged PoE Switches: Determine whether you require a managed or unmanaged PoE switch. Unmanaged switches are plug-and-play, suitable for simple setups and home users. Managed switches offer advanced features like network optimization, remote control, and enhanced network status monitoring, making them ideal for larger surveillance projects in enterprises or large facilities.

Tips for Choosing the Right PoE Switch for Your IP Camera System:

 

  • Calculate Power Requirements: Determine the total power needed by your IP cameras and ensure the PoE switch's power budget can handle the load.
  • Plan for Expansion: Consider potential future camera expansions and choose a switch with additional ports to accommodate future growth.
  • Consider Environmental Conditions: If your cameras will be installed in harsh environments, opt for industrial PoE switches that are specifically designed to withstand extreme conditions.
  • Evaluate the Scale of the Project: For large-scale surveillance projects, a managed PoE network switch provides greater flexibility, control, and oversight, allowing for optimized network performance and centralized management.


By following these tips, you can select a PoE switch that meets your specific power requirements, allows for future scalability, suits the environmental conditions, and provides the desired level of control and management for your IP camera system.To make an informed decision, consider the following tips.

How to Connect IP Cameras to a PoE Switch?

Connecting IP cameras to a PoE switch might sound complex, but it's relatively straightforward. Here are the general steps involved:

  1. Start by connecting your router to the LAN port on the PoE switch using an Ethernet cable (Cat5e or Cat6). This establishes the network connection between the switch and your router.
  2. Plug the power cable into the PoE switch and connect it to a power outlet or a surge protector. This provides power to the switch and ensures its operation.

  3. Take Ethernet cables and connect each IP camera to the available ports on the PoE switch. Ensure a secure and stable connection by properly inserting and securing the cables.

  4. To view and record the footage from the IP cameras, add them to your Network Video Recorder (NVR) or a compatible surveillance software. This step allows you to manage and access the camera feeds.

  5. If remote access is required for viewing the camera feeds from outside your local network, make sure your router is connected to the internet. This enables remote access to the cameras using the appropriate network configurations.

Note: If you need a PoE switch for demanding environments like traffic control cabinets, factory floors, or outdoor locations with extreme temperatures, consider Linovision's industrial PoE switches. These switches comply with IEEE 802.3af/at PoE standards, automatically detect power requirements, and provide power accordingly. They are designed to withstand high levels of vibration and shock, making them ideal for outdoor surveillance deployments in harsh conditions ranging from -40°C to 75°C.

Summary

Selecting the appropriate PoE switch is crucial to ensure an efficient and dependable IP camera system. By taking into account factors such as port numbers, power supply voltage, power budget, maximum power supply, bandwidth capacity, and the choice between managed and unmanaged switches, you can tailor your selection to meet your specific requirements. At Linovision, we offer a range of PoE switches including unmanaged and managed options with varying port configurations (4-port, 5-port, 8-port, 16-port, 24-port), as well as industrial switches designed for diverse IP camera security systems. For more information, please visit the Linovision PoE Switches page.

Read more →

4K Anti-corrosion Camera with Tailored Coating for Sea Shores and Marine

Andy Chen

IPC608AC, it is LINOVISION 4K Ultra HD Anti-corrosion Camera with Tailored Coating, POE IP Camera with Intuitive WEB GUI and Mobile APP, Designed for Sea Shores, Marine, Chemical Factories, Mining Industry, Ports. 

Outstanding Features: 

  • 4K ULTRA HD RESOLUTION - Presenting 8 Megapixels (3840x2160) vivid video with 4x more details than regular HD camera; Wide view angle; Efficient bandwidth control with the advanced H.265 compression.
  • ANTI-CORROSION DESIGNED - Stainless steel with special coating tailored to resist corrosion, dedicated anti-corrosion cable, powerful sealing performance, designed to be used in corrosive environment permanently. 
  • EASY REMOTE ACCESS - Comes with intuitive WEB GUI, compatible to Chrome/Safari/IE/Edge and no plug-in or ActiveX is required; Free mobile App with Cloud access; Also provide PC based VMS software to centralized manage tens of cameras from different sites. Offer API for 3rd party access.
  • MAX 30m IR DISTANCE - Equipped with 2 IR LEDs to enable max 30m night vision distance.
  • 800m LONG RANGE VERSION IS AVAILABLE - Working with POE-EXT3001LP(2 Pack), the transmission distance can be extended to 800m. It is widely used in Mining Industry and other places where need long distance application. 

Read more →

PoE vs PoE+ vs PoE++ Switch: How to Choose?

Andy Chen

Power over Ethernet (PoE) is a well-established technology that allows both data and power to be transmitted over the same Ethernet cable, providing significant time and cost savings for local area networks (LANs). In today's market, you will come across different types of PoE switches, including PoE switches, PoE+ switches, and PoE++ switches. But do you understand the differences between these three types? And how do you make the right choice among them?

What Is PoE and PoE Switch?

What is PoE? Power over Ethernet (PoE) is a technology defined by the IEEE 802.3af standard in 2003. It enables powered devices (PDs) such as VoIP phones to receive power, up to 12.95W, through Ethernet cabling using two of the available twisted pairs.

Then what is a PoE switch? A PoE switch, on the other hand, is a type of power sourcing equipment (PSE) that incorporates PoE technology. It provides power to PDs via Ethernet cables, facilitating network connectivity. Typically, an 802.3af PoE switch supports a maximum power consumption of 15.4W per PoE port, with a voltage range between 44V and 57V. The PDs connected to the PoE switch operate within a voltage range of 37V to 57V.

 

What Is PoE+ and PoE+ Switch?

PoE+ technology, defined by the IEEE 802.3at standard in 2009, is an advancement of PoE technology. With increasing power requirements of devices like wireless access points, PoE+ was introduced to support higher power consumption.

Similar to PoE switches, PoE+ switches also deliver power over two pairs of Ethernet cables. However, PoE+ adds an additional power class that can provide up to 25.5W of power to a powered device (PD) within a voltage range of 42.5V to 57V. Each port of a PoE+ switch can deliver a maximum power of 30W within a voltage range of 50V to 57V.

What Is PoE++ and PoE++ Switch?

In the pursuit of providing even more power for a wider range of devices, the IEEE 802.3 standard further upgraded PoE+ technology to PoE++ (IEEE 802.3bt standard) in 2018. PoE++ is divided into two types: Type 3 and Type 4. Type 3 enables power delivery of up to 51W to a PD using either two or all four twisted pairs in a copper cable. Type 4 allows power delivery of up to 71W to a PD using all four twisted pairs in an Ethernet cable.

PoE++ switches are the next generation of PoE+ technology. They support up to 60 watts of power per port under Type 3 and provide the highest power level for Power over Ethernet switches, delivering up to 100W per PoE port under Type 4.

PoE vs. PoE+ vs. PoE++ Switch: Which to Choose?

The choice of a PoE switch depends on specific requirements. To help make an optimal selection, consider the following aspects: specifications and applications.

Specifications of PoE vs. PoE+ vs. PoE++ Switch

Based on the information provided, the following reference chart summarizes detailed specifications of PoE, PoE+, and PoE++ switches:

 

 

PoE PoE+ PoE++
IEEE Standard IEEE 802.3af IEEE 802.3at IEEE 802.3bt
PoE Type Type 1 Type 2 Type 3 Type 4
Switch Port Power
Max. Power Per Port 15.4W 30W 60W 100W
Port Voltage Range 44–57V 50-57V 50-57V 52-57V
Powered Device Power
Max. Power to Device 12.95W 25.5W 51W 71W
Voltage Range to Device 37-57V 42.5-57V 42.5-57V 41.1-57V
Cables
Twisted Pairs Used 2-pair 2-pair 4-pair 4-pair
Supported Cables Cat3 or better Cat5 or better Cat5 or better Cat5 or better

 

Note: The provided figures are theoretical and the total power capacity of PoE series switches in real-world applications may be oversubscribed when multiple devices use less than the maximum power. For example, having a switch with all PoE++ Type 4 ports doesn't mean all ports will be utilized at maximum load 24/7. Therefore, it is important to calculate the power requirements of all connected powered devices and choose appropriate patch cables for your PoE design.

Applications of PoE vs. PoE+ vs. PoE++ Switch

The key differences between PoE, PoE+, and PoE++ switches lie in their operational modes and power delivery, which determine their applications.

PoE switch

An 802.3af switch, also known as a PoE Type 1 switch, is typically used to support devices that require power delivery of less than 15.4W. Examples include:

  • Basic VoIP phones used over the internet

  • Wireless access points with two antennas for small networksStationary security cameras without pan, tilt, and zoom

  • Sensors, meters, etc.

  • Stationary security cameras without pan, tilt, and zoom functionality

PoE+ switch

PoE+ switch with 30W output can power Type 2 devices, such as:

  • IP telephones that offer fax, text messaging, and voice calls

  • Wireless access points with six antennas

  • Remote-controlled pan, tilt, and zoom (PTZ) surveillance cameras

  • Biometric sensors that collect biological characteristics

PoE++ switch

A PoE+ switch with 30W output is capable of powering Type 2 devices, such as:

  • Two-way video phone calls in a conferencing system

  • Building management devices such as gate or door controllers

  • Thin clients connected remotely to a server-based computing environment

  • Remote patient monitoring devices

And the PoE++ Type 4 switch can support devices such as laptops and TVs.

If your data center or network has relatively low power requirements, a PoE switch would be suitable. However, if you need a more powerful and versatile network that can accommodate a diverse range of devices, a PoE+ or PoE++ switch would be a better choice. These switches offer increased power capacity and performance, allowing for more devices to be connected without being limited by port restrictions. They are particularly beneficial when building infrastructures with higher demands or when planning for future upgrades.

Of course, if your existing PoE network design meets your current demands and is adequate for your requirements, there is no need to change it. It is always wise to assess your specific needs and choose the appropriate switch that aligns with your power and performance requirements.

Linovision PoE++ Switch

The main features of three Linovision PoE++ switches are shown below.

POE-SW508G POE-SW708GM POE-SW806GM-Solar
Description 8-Port Full Gigabit PoE++ Switch 8-Port Full Gigabit L2
PoE++ Switch
4-Port L2 Managed Solar PoE++ Switch
Ports ·8*10/100/1000BASE-T RJ45 auto-MDI/MDI-X ports
·2*1000Mbps SFP Slots
·4*10/100/1000Base-T PoE++ RJ-45 auto-MDI/MDI-X ports
·4*10/100/1000Base-T PoE+ RJ-45 auto-MDI/MDI-X ports
·2*1G/2.5GBase-X SFP
·4*10/100/1000Mbps RJ45 Ports
·2*1000Mbps SFP Slots
Power Budget 120W 360W 120W
Application Harsh Environment Security, Industry, Business, Office Intelligent Transportation,
Harsh Environment Security, Industry
Solar Power PoE System; UPS Power PoE System

 

Conclusion

As power requirements continue to increase, the evolution of PoE technology has led to the development of PoE+, and subsequently PoE++. Similarly, PoE-based switches have advanced to PoE+ switches, and now to PoE++ switches. This article has provided insights into the distinctions between PoE, PoE+, and PoE++ switches, as well as their respective applications. We hope this information has inspired you to select a suitable PoE network switch for your needs.

Read more →

Gaining insights into PoE Standards and Wattage

Andy Chen

PoE (Power over Ethernet) technology revolutionizes the way power and data are transmitted over Ethernet cables. It enables Power Sourcing Equipment (PSE), such as a PoE switch, to deliver power and data simultaneously to Powered Devices (PD), including IP cameras and VoIP phones. This integration simplifies cabling installation, eliminates the need for separate power cables, and reduces overall costs.

To regulate the power delivery to PDs, the Institute of Electrical and Electronic Engineers (IEEE) has established various PoE standards, including IEEE 802.3af, 802.3at, and 802.3bt. These standards define the maximum power that PSEs can provide and the power requirements for PDs.

Let's delve into the details of these PoE standards and their associated wattage.

PoE Standards Introduction

PoE standards encompass three main types: IEEE 802.3af, IEEE 802.3at, and IEEE 802.3bt. These standards establish the minimum power that Power Sourcing Equipment (PSE) can provide and the maximum power that Powered Devices (PD) can receive.

Figure 1: IEEE 802.3af, IEEE 802.3at and IEEE 802.3bt Introduction

1. IEEE 802.3af (Standard PoE)

Operating within a voltage range of 44-57V and delivering a current of 10-350mA, IEEE 802.3af ensures a maximum power output of 15.4W per port. Due to power loss over Ethernet cables, the minimum guaranteed power available at the Powered Device (PD) is 12.95W per port. This standard is commonly used for devices like VoIP phones and sensors.

2. IEEE 802.3at (PoE+)

As an upgraded standard compatible with IEEE 802.3af, PoE+ operates with a supply voltage ranging from 50V to 57V and a supply current of 10-600mA. It provides up to 30W of power per port on Power Sourcing Equipment (PSE), ensuring a minimum power output of 25W per port. This standard is suitable for devices like wireless access points and video conferencing systems.

3. IEEE 802.3bt

IEEE 802.3bt is the latest PoE standard that introduces two types of power delivery - Type 3 and Type 4. These types increase the maximum PoE power by utilizing multiple pairs of Ethernet cables. In Type 3 and Type 4 modes, PSEs identify the PDs and allocate power based on their maximum power requirements, resulting in an enhanced power delivery system. This standard includes support for higher-speed Ethernet standards like 2.5GBASE-T, 5GBASE-T, and 10GBASE-T, unlike the previous standards limited to 1-Gbps. It is designed for demanding applications such as laptops and LED lighting.

a. Type 3 (PoE++)

Type 3, also known as PoE++, can deliver up to 60W per PoE port (with a minimum of 51W on each PD port). It is suitable for powering devices such as video conferencing system components.

b. Type 4 (Higher-Power PoE)

Type 4 offers a maximum power output of 100W per PoE port (with a minimum of 71W on each PD port). This level of power delivery is ideal for devices like laptops and TVs.

Both Type 3 and Type 4 modes of IEEE 802.3bt are backward compatible with IEEE 802.3af and IEEE 802.3at standards. The following table summarizes the specifications of the PoE standards, including PoE wattage:

Name IEEE Standard PD Min. Power Per Port PSE Max. Power Per Port Cable Category Power Over Pairs Released Time
PoE IEEE 802.3af 12.95W 15.4W Cat5e 2 pairs 2003
PoE+ IEEE 802.3at 25W 30W Cat5e 2 pairs 2009
PoE++ IEEE 802.3bt 51W 60W Cat5e 2 pairs class0-4,
4 pairs class5-6
2018
PoE++ IEEE 802.3bt 71W 100W Cat5e 4 pairs class7-8 2018

 

Understanding PoE Wattage

As previously explained, IEEE 802.3af provides a maximum power output of 15.4W per port, while PoE+ (IEEE 802.3at) supports up to 30W. However, when connecting multiple devices to a single PoE/PoE+ switch, it becomes crucial to ensure that the combined power requirements of these devices do not exceed the maximum power wattage supported by the switch. This ensures that the switch can reliably provide sufficient power to all connected devices without overloading its capacity. Careful consideration and planning are necessary to avoid exceeding the switch's power limitations and maintain stable operation.

For example, let's take the LINOVISION POE-SW708GM-DC12V, a managed PoE++ switch with 8 RJ45 ports and 2 SFP ports. Compliant with IEEE 802.3af/at/bt standards, this switch has a total power budget of 240W. This means it can concurrently power 8 devices compliant with PoE+ standards (30W x 8 = 240). It can also support 8 devices compliant with PoE standards (15W x 8 = 120W).

 

However, there is no need for concern as modern network switches are designed to be intelligent. When a device is connected, the switch automatically detects whether it is compatible with PoE or PoE+. If the device requires a low power of 5W, the switch supplies exactly that amount. If the device demands a higher power of 20W, the switch adjusts accordingly. And if you connect a device without PoE capability, rest assured that the switch will provide data transmission only.

How Much PoE Wattages are Need?

The power needs of your devices depend on what you're connecting. Most devices, such as security cameras, IP phones and standard wireless APs, require no more than 30 watts.

However, certain devices, such as 802.11ac wireless access points with multiple USB ports and radios, may require over 30 watts for optimal performance. In such cases, PoE++ or PoH switches are the ideal solution. It's worth noting that some devices can adapt to lower power availability by using fewer radios or disabling certain features.

Linovision Managed Switches: Your PoE Solution

At Linovision, we offer a range of PoE/PoE+/PoE++ switches that comply with the PoE standards, providing enhanced security and improved capabilities. These switches are available in 4,5,8 and 48 port options. They support layer 2+ switching features like VLAN and offer advanced management options such as WEB, CLI, TELNET, and SNMP. FS PoE/PoE+ switches can power any 802.3af or 802.3at compliant device on the market, providing flexibility and security. The table below provides specifications for four of our PoE/PoE+/PoE++ switches:

 

Model PoE Standard Port Switch Capacity Power Budget Forwarding Rate AC/DC Power Supply
POE-SW708GM IEEE 802.3af/at/bt 8x RJ45 | 2x SFP 36 Gbps 240W 14.88 Mpps DC
POE-SW716GM-10G IEEE 802.3af/at 16x RJ45 | 4x SFP 112 Gbps 360W 83.3 Mpps DC
POE-SW328G-BT2000 IEEE 802.3af/at/bt 24x RJ45 | 4x SFP 56 Gbps 740W 41.7 Mpps DC/AC

Summary

It is essential to have a clear understanding of PoE standards and wattage to ensure effective device connections. By aligning your devices' power requirements with the appropriate PoE standard, you can ensure smooth and reliable operation. PoE technology simplifies complex cabling setups and offers flexibility in power delivery.

Read more →