Plug & Sense! Smart Parking Technical Guide wasp mote
Index © Libelium Comunicaciones Distribuidas S.L. INDEX 1. Introduction ......................................................................................................................................... 4 2. General ................................................................................................................................................ 5 2.1. General and safety information .........................................................................................................
Index 9. Callback Server .................................................................................................................................. 24 9.1. Installation ................................................................................................................................................................................... 24 9.2. Deploying ........................................................................................................................................
Introduction 1. Introduction The aim of this manual is to introduce the user to Smart Parking in a practical way. This document applies to the following Smart Parking model, approved for FCC: Model FCC ID Smart Parking US XKM-PARKING-V1 The new version of Waspmote Plug & Sense! Smart Parking, the solution for Smart Cities that allows citizens to detect available parking spots. The new device is easier and cheaper to deploy as it is mounted on the road surface.
General 2. General 2.1. General and safety information • • • • • • • • • • • • • • In this section, the term “Waspmote” encompasses both the Waspmote device itself and it enclosure. Read through the document “General Conditions of Libelium Sale and Use”. Do not allow contact of metallic objects with the electronic part to avoid injuries and burns. NEVER submerge the device in any liquid with the enclosure open. Keep the device in a dry place and away from any liquid which may spill.
Hardware 3. Hardware 3.1. Hardware description Figure : Plug & Sense! Smart Parking Power supply Built-in Lithium batteries, expected lifetime of 4-6 years* Antenna Included Detection Magnetic Mounting 2YHU WKH ȵRRU Dimensions 230 mm diameter, 28 mm height Protection IP68 strictly under right closing (see section “Device installation”) Operating temperature -20 to +65 °C * Under normal circumstances and dependent on settings Figure : Plug & Sense! Smart Parking main characteristics 3.2.
How the node works 4. How the node works Figure : Basic working loop diagram As the diagram indicate, the basic loop of the node consists in read the sensor and send a frame when the parking slot change it status. Then, it sleeps a desired time and starts the loop again. Some events can forced the node to send a frame to the cloud. If a desired time elapsed since the last radio transmission, the node will send a Keep-Alive frame.
Sleep modes 5. Sleep modes Plug & Sense! Smart Parking has 2 sleep modes: day mode and night mode. The second one has been developed WR XVH ZKHQ WKH SDUNLQJ VORW LV H[SHFWHG WR KDYH IHZHU FKDQJHV L H DW QLJKW (DFK PRGH KDV LWV RZQ FRQȴJXUDWLRQ SDUDPHWHUV 7KH ȴJXUH EHORZ VKRZV DQ H[DPSOH IRU WKH QRGH WUDQVPLVVLRQV LQ D GD\ 7KH WLPH ]RQH EHWZHHQ AM and 12 AM (in light gray) indicates that the node is working in day mode.
Sleep modes 5.2. Night mode This mode has been developed to use when the parking slot is expected to have fewer changes (i.e. at night). It KDV FRQȴJXUDEOH SDUDPHWHUV Night Mode start hour: %HJLQQLQJ KRXU RI WKH QLJKW PRGH KRXUV RSWLRQ LV FRQȴJXUHG E\ GHIDXOW Night Mode duration: 1LJKW PRGH GXUDWLRQ WLPH KRXU RSWLRQ LV FRQȴJXUHG E\ GHIDXOW Night Mode Sleep Time: Sleep time between consecutive sensor measurements (during night mode). 10 PLQXWHV RSWLRQ LV FRQȴJXUHG E\ GHIDXOW • Night Mode Ke
Transmission modes 6. Transmission modes Plug & Sense! Smart Parking has 2 transmission modes allowing the user to choose between Sigfox, LoRaWAN: • • Sigfox. This mode only uses the Sigfox radio to send the data collected by the node. This mode is selected by default. LoRaWAN. This mode only uses the LoRaWAN radio to send the data collected by the node.
Frames 7. Frames 7.1. Firmware version v2.x.x 3OXJ 6HQVH 6PDUW 3DUNLQJ QRGH FDQ VHQG GHȴQHG IUDPHV $OO IUDPHV DUH E\WHV OHQJWK DQG WKH\ DUH WKH same for Sigfox and LoRaWAN. Bytes 0 and 1 are common for all frames. Byte 0 has the basic information of the node and frame.
Frames 7.1.2. Keep-Alive frame This frame is used to indicate that the parking slot has not changed, but the node is still working. Byte Name 0 Basic data Detailed description in section “Frame” 1 Frame counter Detailed description in section “Frame” 2 Timestamp (hh) Current hours 3 Timestamp (mm) 4 Temperature 5 6 7 8 9 10 Description Current minutes Temperature (Celsius degrees) from the node's internal sensor. The value of temperature is a signed integer.
Frames 7.1.4. Error frame In some cases the node could send a frame if some internal components or processes fail.
Frames 7.1.5. Start frames :KHQ WKH QRGH VWDUWV WR ZRUN LQ WKH SDUNLQJ VORW LW ZLOO VHQG IUDPHV 7KH ȴUVW RQH LV GHGLFDWHG WR WKH VHQVRU DQG WKH EDWWHU\ 7KH VHFRQG RQH LV XVHG WR VHQG VRPH SDUDPHWHUV DERXW WKH FKRVHQ FRQȴJXUDWLRQ 7.1.5.1.
Frames 7.2. Firmware version v1.x.x 3OXJ 6HQVH 6PDUW 3DUNLQJ QRGH FDQ VHQG GHȴQHG IUDPHV $OO IUDPHV DUH E\WHV OHQJWK DQG WKH\ DUH WKH same for Sigfox and LoRaWAN. Bytes 0 and 1 are common for all frames. Byte 0 has the basic information of the node, and frame and byte 1 is a frame counter. It can be used to detect lost frames.
Frames 7.2.2. Keep-Alive frame This frame is used to indicate that the parking slot has not changed, but the node is still working. Byte Name 0 Basic data Detailed description in section “Frame” 1 Frame counter Detailed description in section “Frame” 2 Timestamp (hh) Current hours 3 Timestamp (mm) Current minutes 4 Temperature MSB Raw temperature from the node’s internal sensor. The value stored in these two bytes is a 16-bit value in 2’s complement form.
Frames 7.2.4. Error frame In some cases the node could send a frame if some internal components or processes fail.
Frames 7.2.5. Start frames :KHQ WKH QRGH VWDUWV WR ZRUN LQ WKH SDUNLQJ VORW LW ZLOO VHQG IUDPHV 7KH ȴUVW RQH LV GHGLFDWHG WR WKH VHQVRU DQG WKH EDWWHU\ 7KH VHFRQG RQH LV XVHG WR VHQG VRPH SDUDPHWHUV DERXW WKH FKRVHQ FRQȴJXUDWLRQ 7.2.5.1.
Smart Devices App 8. Smart Devices App /LEHOLXP 6PDUW 'HYLFHV $SS LV DQ LPSRUWDQW WRRO GHYHORSHG E\ /LEHOLXP WKDW DOORZV XVHUV LQVWDOO QHZ ȴUPZDUH YHUVLRQV DQG SURJUDP WKH FRQȴJXUDWLRQ RI WKH QHZ /LEHOLXP GHYLFHV LQ D IHZ FOLFNV $W WKH PRPHQW LW LV RQO\ available for Smart Parking and MySignals products, but the list will be incremented shortly. 8.1.
Smart Devices App 8VHUV FDQ UHDG DQG ZULWH DOO FRQȴJXUDWLRQ SDUDPHWHUV RI WKHLU GHYLFHV LQ WKLV VHFWLRQ 7KH SURFHVV LV TXLWH VLPSOH Just connect the device to the computer where the Smart Devices App is installed using the USB cable provided and switch the node on. Then, refresh the “USB settings” block which is in the bottom-right corner, clicking in “refresh” button. Once done it, the port where the device has been connected must be selected.
Smart Devices App Sigfox ID: Sigfox ID that will be loaded from the device. • LoRaWAN EUI: LoRaWAN EUI that will be loaded from the device. USB SETTINGS • USB Port: In this list will be displayed all available USB ports to work out with the device. If you plug your device and the port is not listed, you have click on “Refresh” button in order to update the list.
Smart Devices App 7KH OLVW ZLWK DOO DYDLODEOH ȴUPZDUH LV ORDGHG ZKHQ WKH SURJUDP VWDUWV EXW XVHUV FDQ XSGDWH LW RQ GHPDQG FOLFNLQJ RQ Ȋ6HDUFK QHZ ȴUPZDUH XSGDWHVȋ EXWWRQ %HIRUH LQVWDOOLQJ WKH ȴUPZDUH LW LV QHFHVVDU\ WR GRZQORDG LW 7KLV process is very simple, just mark the check of the version you want to install from the list and click on “Download checked” button.
Smart Devices App 8.2.3. &RQȴJXUDWLRQ ΖQ WKH ODVW WDE Ȋ&RQȴJXUDWLRQȋ DOO H[WHUQDO SDUDPHWHUV WKDW WKH VRIWZDUH XVHV WR ZRUN ZLOO EH GLVSOD\HG 8VHUV FDQ modify these values in order to get the wished application behavior. In this case, there is only one parameter available, the API key to connect to Libelium Cloud. This value is provided by Libelium and it is very important to control the access and get some results needed in the programmer tab.
Callback Server 9. Callback Server Sigfox and LoRaWAN callback service requirements include a server with a web application up and running, this web application will receive Sigfox and LoRaWAN requests. Sigfox and LoRaWAN callback service will relay messages via POST/GET requests to your web application running in your server. /LEHOLXP SURYLGHV WKH VRXUFH ȴOHV RI D VLPSOH ZHE DSSOLFDWLRQ WR GHSOR\ LQ \RXU VHUYHU 7KLV UHPRWH QRGH FRQȴJXUDWLRQ ZHE DSSOLFDWLRQ SURYLGHG E\ /LEHOLXP ZLOO UHFH
Callback Server 9.2. Deploying 6WHS ([WUDFW LQ \RXU VHUYHU WKH =Ζ3 ȴOH SURYLGHG E\ /LEHOLXP FRQWDLQLQJ WKH UHPRWH QRGH FRQȴJXUDWLRQ ZHE DSSOLFDWLRQ VRXUFH ȴOHV 6WHS &KHFN WKH ULJKW RZQHU JURXS DQG SHUPLVVLRQV RI DOO WKH ȴOHV H[WUDFWHG XVXDOO\ XVLQJ ZZZ GDWD JURXS LV default in Ubuntu environment. 6WHS &KHFN WKH SHUPLVVLRQV RI DOO IROGHUV DQG ȴOHV XVXDOO\ XVLQJ IRU GLUHFWRULHV DQG IRU ȴOHV LV GHIDXOW in Ubuntu environment.
Callback Server 9.3. Making the server accessible from anywhere Compulsory for Sigfox and Actility platforms. Optimal deployment includes a server name pointing to a public and static IP, using dynamic DNS could be done with services like no-ip which has a free package http://www.noip.com/. No-ip has also a client application responsible for updating any IP address changes in the background, more information in: http://www.noip.com/download )LQDOO\ WKH 85/ WR FRQȴJXUH WKH 6LJIR[ DQG /R5D:$1 SODWIRUPV WR V
Callback Server TIME SETTINGS • • Sleep time: Sleep time between consecutive sensor measurements. Keep-Alive: Elapsed time since last transmission to send a Keep-Alive frame. NIGHT MODE • • • • • Enabled: %XWWRQ WR DFWLYDWH GHDFWLYDWH WKLV RSWLRQ ΖI LW LV QRW DFWLYH WKH IROORZLQJ ȴHOGV ZLOO QRW EH HHFWLYH Duration: Night mode duration time. Start hour: Night Mode start hour. Sleep time: Sleep time between consecutive sensor measurements (during night mode).
Callback Server Note: Sigfox and LoRaWAN radios unique ID must be known previously to use the web form. There are several ways those unique ID are provided. Additionally the Libelium Smart Devices App can be used to read those ID YDOXHV GLUHFWO\ IURP WKH 6PDUW 3DUNLQJ QRGH WKH Ζ' QHHGHG WR FUHDWH FRQȴJXUDWLRQ YDOXHV XVLQJ WKH ZHE IRUPDUH pointed in the following picture: Figure : Device IDs read from the Smart Devices App &UHDWLQJ FRQȴJXUDWLRQ YDOXHV IRU WKH UDGLR Ζ' RI WKH 6PDUW 3DUNLQJ QRGHV XVLQJ WK
Callback Server 9.5. +RZ WR H[WHQG WKH UHPRWH QRGH FRQȴJXUDWLRQ ZHE application /LEHOLXP SURYLGHV WR XVHUV D VLPSOH UHPRWH QRGH FRQȴJXUDWLRQ ZHE DSSOLFDWLRQ WR PRGLI\ UHPRWHO\ WKH EHKDYLRU RI WKH 6PDUW 3DUNLQJ QRGHV 7KH UHPRWH QRGH FRQȴJXUDWLRQ ZHE DSSOLFDWLRQ LQFOXGHV D ZHE IRUP WR PDQDJH WKH FRQȴJXUDWLRQ YDOXHV DVVRFLDWHG WR WKH UDGLR Ζ' RI WKH 6PDUW 3DUNLQJ QRGH DQG D EDFNJURXQG SURFHVV WR GHDO ZLWK WKH 6LJIR[ DQG /R5D:$1 &DOOEDFN VHUYLFHV UHTXHVWV GHOLYHULQJ WKH SURSHU UHSOLHV ZLWK WKH FRQȴJXUDW
Callback Server key BAT_READING value [0-7] Description Number of daily battery level checking $SS ȴHOG ([WUD FRQȴJXUDWLRQ %DWWHU\ FKHFNLQJ SHU GD\ App values [0 = 1 | 1 = 2 | 2 = 3 | 3 = 4 | 4 = 5 | 5 = 6 | 6 = 7 | 7 = 8] key RADIO_MODE value [0-4] Description Selected transmission mode Text Text $SS ȴHOG 5DGLR FRQȴJXUDWLRQ 5DGLR PRGH App values > 6LJIR[ _ /R5D:$1 _ 6LJIR[ /R5D:$1 _ 6LJIR[ ࠥ /R5D:$1 _ /R5D:$1 ࠥ 6LJIR[@ key THRESHOLD value [0-255] Descript
Callback Server key NM_PERIOD value [0-15] Description Night mode duration time Text $SS ȴHOG Night mode - Duration App values [0 = 0h | 1 = 1h | 2 = 2h | 3 = 3h | 4 = 4h | 5 = 5h | 6 = 6h | 7 = 7h | 8 = 8h | 9 = 9h | 10 = 10h | 11 = 11h | 12 = 12h | 13 = 13h | 14 = 14h | 15 = 15h] h = hours key NM_SLEEP_TIME value [0-15] Description Sleep time between consecutive sensor measurements (during night mode) $SS ȴHOG Night mode – Sleep time App values Text [0 = 2m | 1 = 5m | 2 = 10m | 3 = 15
Developing the network 10. Developing the network 10.1. Application considerations 10.1.1. Deployment of the motes The optimum deployment point will be the one where the probability of detection is maximum, which means minimizing the probabilities of false detection (caused by other vehicles or objects near the lot under control) and IDOVH UHMHFWLRQ RZHG WR D QRW KLJK HQRXJK YDULDWLRQ LQ WKH PDJQHWLF ȴHOG DERYH WKH PRWH ZLWK D YHKLFOH SDUNHG LQ the spot).
Developing the network Figure : Diagram of the deployment points of the motes for perpendicular parking lots Figure : Placement options of the motes for parallel parking lots Figure : Placement options of the motes for perpendicular parking lots Other consideration to be taken into account in mote deployment is the communication between this one and the gateway or router that will receive the data and process or redirect it.
Device Installation 11. Device Installation Important: Before deploying the nodes on the street, make sure that enough tests have been performed in order to achieve a 100% functional network and that all the necessary information related to the mote, such as LGHQWLȴFDWLRQ QXPEHUV RI WKH UDGLRV KDV EHHQ FRPSLOHG DQG VWRUHG VLQFH RQFH WKH PRWH LV LQVWDOOHG WKH DFFHVV will be very limited. 11.1. Assembly and set up Step 1: Connect the USB Programmer to the node.
Device Installation Step 3: 1RZ WKH QRGH LV FRQȴJXUHG 7XUQ R WKH QRGH Figure : Battery connection Step 4: %HIRUH FORVLQJ WKH HQFORVXUH WKH QRGH PXVW EH SRZHUHG RQ ΖW LV PDQGDWRU\ WKDW WKH QRGH LV SRZHUHG R before this step. The node blinks the onboard red LED (1 second) and it will go to deepsleep state. In this state the node must not be reset with the magnetic switch before the node is deployed. If it is reseted, the node starts to work and will send frames, generating an unwanted consumption.
Device Installation 11.2. How to close the Smart Parking enclosure to keep the waterproof IP68 features In order to close the node correctly and ensure correct sealing, the following steps must be strictly followed. Step 1: Make sure that the screws have the o-rings to prevent water ingress. Figure : Screws with o-ring Step 2: Ensure that the top surface of the gasket is clean and contains no foreign objects.
Device Installation Step 4: Insert the screws and tighten them halfway Figure : Screws in their position Step 5: )LQDOO\ WLJKWHQ WKH IRXU VFUHZV ȴUPO\ 'R QRW XVH WKH PD[LPXP SUHVVXUH GR QRW JR DOO WKH ZD\ ZLWK WKH screws), because the o-rings could be ejected from the screws, and then the waterproof feature would NOT be valid.
Device Installation Step 2: Drill the holes. Warning: The drill diameter must be 10 mm maximum to prevent the anchor from rotating freely in the hole. Try to drill as vertical as possible, to enable the best enclosure installation. The length of the hole must be about 42 mm. It is important to know that the screw will only penetrate to half of the length of the anchor, so there must be a distance of 12 mm or more between the ground surface and the top of the anchor.
Device Installation Step 3: 6HWWLQJ DQFKRUV 7KH DQFKRUV XVHG WR ȴ[ WKH 3OXJ 6HQVH 6PDUW 3DUNLQJ DUH PHWDOOLF H[SDQVLRQ DQFKRUV The anchoring mechanism of these anchors is based on the expansion of the metal body against the base material. This expansion occurs when the expansion cylinder is propelled down, hitting on a punch with a hammer. First, insert the anchors in the holes and take them all the way down. For that, you can use a hammer and punch of 9 mm in diameter.
Device Installation Once the anchor is totally inserted, make sure that it is at least 12 mm below the ground. Then take a sharp punch (few mm), put it inside the anchor and hit some very hard blows with a hammer. Figure : Hammering with a punch inside the anchor
Device Installation Figure : Setting anchors instructions Step 4: Place the black circle rubber on the ground. To enable the correct screwing of the screws inside the anchors, make sure that there is no dust in the inner thread of the anchor (you can use the spray duster again). ΖQVWDOO WKH QRGH LQ LWV ȴQDO SRVLWLRQ DQG VFUHZ WKH VSHFLDO DQWL YDQGDOLF VFUHZV SURYLGHG $QWL YDQGDOLF VFUHZV DUH UHFRPPHQGHG WR DYRLG SUREOHPV DQ\RQH FRXOG XQVFUHZ D QRGH LI ȴ[HG ZLWK VWDQGDUG VFUHZV Figure : Screwing
Device Installation Figure : 7KH QRGH ȴQDOO\ VFUHZHG Step 5: 8VH WKH PDJQHW WR UHVHW WKH QRGH 2QFH WKH QRGH KDV EHHQ UHVHW LW ZLOO VWDUW WR FRQȴJXUH WKH UDGLRV DQG get a calibration of the parking slot. In this stage the parking slot must be empty, so the node learns when the slot is not occupied. Figure : Using the magnet to reset the node Step 6: When the node gets the reference calibration, it will send two frames to the cloud: Start frame 1 and Start frame 2.
Device Installation Figure : Start frames received in the Sigfox backend 11.4. &RQȴJXULQJ WKH SDUNLQJ QRGHV LQ WKH FDOOEDFN VHUYHU &XVWRPHUV KDYH LQVWDOOHG WKH FDOOEDFN VHUYHU DV H[SODLQHG EHIRUH 1RZ DOO QRGHV KDYH WR EH FRQȴJXUHG XVLQJ WKH on-line form available. &RQVLGHULQJ WKDW D UHDO GHSOR\PHQW ZLOO KDYH JURXSV RI QRGHV ZRUNLQJ ZLWK GLHUHQW FRQȴJXUDWLRQV IRU H[DPSOH VWUHHW VWUHHW LW LV UHFRPPHQGHG WKDW WKH ȴQDO 5HPRWH 0DQDJHU LV DEOH WR JHQHUDWH WKH FRQȴJXUDWLRQ depe
Services 12. Services /LEHOLXP KDV LPSOHPHQWHG VHUYLFHV LQ WKH UHPRWH QRGH FRQȴJXUDWLRQ ZHE DSSOLFDWLRQ 6LJIR[ /RULRW DQG $FWLOLW\ ΖQ WKLV VHFWLRQ LV H[SODLQHG KRZ WR VHW WKHP XS ZLWK D VLPSOH FRQȴJXUDWLRQ ΖI XVHUV ZDQW WR XVH D VHUYLFH RI RWKHU company not already implemented, we include in this section the instructions to develop that new service. 12.1.
Services The next step is creating the Device Type in the back-end, clicking on “Device Type” in the top menu and then on “New” button. Figure : Device type creation schema A new pop-up window will be shown to select the group for the new Device Type, usually the group created previously. Select the group and a new form will appear, provide all information required to create the Device Type. Sigfox nodes assigned to this Device type will share the same functionality.
Services $ QHZ IRUP ZLOO EH GLVSOD\HG SOHDVH ȴOO LQ WKH IRUP IROORZLQJ WKH LQGLFDWLRQV VKRZQ LQ WKH QH[W LPDJH Figure : Callback form :ULWH WKH 85/ WR DFFHVV WKH 6LJIR[ VHUYLFH LQ WKH ȴHOG Ȋ8UO SDWWHUQȋ 7KLV 85/ KDV EHHQ SUHYLRXVO\ FRQȴJXUHG LQ your server. Some extra variables have been added (to send to the service as much information as possible) following the information displayed in the form. http://my_server.
Services Finally it is time for creating the device node itself, click on “Device” option in the top menu, wait for the next window to be loaded, click on “New” button. Figure : Device creation As it happened with the Device Type, the parent group of the device must be selected. Fill the following information in the new device form: Figure : Device form • • • • • • • • ΖGHQWLȴHU Device ID in hexadecimal format, given by the manufacturer. Name: Device name.
Services 12.1.2. 6HUYHU FRQȴJXUDWLRQ ΖQ WKH FDOOEDFN VHUYHU SUHYLRXVO\ LQVWDOOHG VRPH SDUDPHWHUV PXVW EH FRQȴJXUHG WR HQDEH WKH FRPPXQLFDWLRQ with the node. 7KH VHUYLFHV LQL ȴOH ORFDWHG LQ GDWD IROGHU KDV WR EH XSGDWHG ZLWK WKH IROORZLQJ LQIRUPDWLRQ LQ WKH VLJIR[ VHFWLRQ [sigfox] ORJBOHYHO ߙ$//ߚ ORJBࢱOH ߙ ORJV VLJIR[ ORJߚ • • log_level: This level is the minimum level to save logs in the system. Select among these levels: - OFF: This option deactivate the log.
Services 12.2. Loriot This section explains how to route the information received from the Loriot platform to the callback server and generate a response if it is needed. 12.2.1. 'HYLFH FRQȴJXUDWLRQ Log in and create a new application in the Loriot dashboard. Figure : Creating an application In this application all devices have to be added clicking on “Devices” left menu option and the device list will be displayed. Click on “Generate new device” button to add a new device.
Services Click on “Edit output” to display all the information available about the selected output option.Click on “Change” button in the detailed window to change the data output, select one of the multiple choices from the list. Figure : Selecting the output application “Websocket” is the method recommended to deliver the end-device data. • • • • • • ΖWȇV FORXG IULHQGO\ H[LVWLQJ +773 WUDɝF RSWLPL]DWLRQ FDQ EH XVHG It’s bi-directional, real-time interface It’s easy to implement It’s lower overhead comp
Services Figure : Output setup Clicking in “Authentication token” link, a new window will be shown with the tokens generated in the Loriot application. To create a new one, just click on “Generate another authentication token” button, and a new record will be created in the table. Finally, copy the full URL hitting on “Show full URL” and paste the URL in this parameter of the VHUYLFH FRQȴJXUDWLRQ ȴOH Figure : Generating an application token • service_url: 7KH 85/ WR DFFHVV WR WKH /RULRW VHUYLFH LQ \RX
Services 12.4. Actility This section explains how to route the information received from the Actility platform to the callback server and generate a response if it is needed. 12.4.1. 'HYLFH FRQȴJXUDWLRQ &RQȴJXUH D QHZ $6 URXWLQJ SURȴOH LQ WKH 'HYLFH 0DQDJHU FOLFNLQJ RQ Ȋ$6 URXWLQJ SURȴOHVȋ RQ WKH OHIW VLGHEDU PHQX Figure : $6 5RXWLQJ SURȴOHV PHQX $ OLVW ZLWK DOO H[LVWLQJ $6 URXWLQJ SURȴOHV ZLOO EH GLVSOD\HG %HORZ LQ WKH VHFRQG VHFWLRQ 1HZ $6 URXWLQJ SURȴOH JLYHV WKH FDSDELOLW\ WR DGG QHZ $6 URXWLQJ
Services A name must be typed in the new window displayed. Clicking on Create button to continue the process. Figure : $6 5RXWLQJ SURȴOH QDPH In the new window, mark the check “Is default” and click the “Add button” in the Add a route section. Figure : $6 5RXWLQJ SURȴOH URXWH A new section “Route” will appear with a default route created. The name will be always “bigONG1”.
Services After the default route has been deleted, create the destination URL. • • • • 1. Hitting on “Add” button a new pop up window will be displayed. ΖQ Ȋ7\SHȋ ȴHOG Ȋ7KLUG SDUW\ $6 +773 ȋ PXVW EH VHOHFWHG ΖQ Ȋ'HVWLQDWLRQȋ ȴHOG WKH 85/ WR DFFHVV WR WKH $FWLOLW\ VHUYLFH LQ \RXU FDOOEDFN VHUYHU SUHYLRXVO\ FRQȴJXUHG KDV WR EH W\SHG KWWS P\BVHUYHU FRP VHUYLFHV DFWLOLW\ )LQDOO\ KLWWLQJ RQ Ȋ$GGȋ EXWWRQ WKH FRQȴJXUDWLRQ ZLOO EH VDYHG Figure : Route destination 7KH FRQȴJXUDWLRQ ZLOO DSSHDU
Services 7R FKDQJH WKH QHWZRUN URXWLQJ WR WKH $6 5RXWLQJ SURȴOH VHOHFW D GHYLFH IURP WKH OLVW DQG KLW RQ Ȋ(GLWȋ EXWWRQ 7KHQ click on Network section in the left menu. Figure : Steps to follow when the device is created ΖQ WKH Ȋ1HWZRUN FORXG URXWLQJȋ VHFWLRQ WKH QHZ $6 5RXWLQJ SURȴOH FUHDWHG PXVW EH VHOHFWHG FOLFNLQJ RQ WKH Ȋ&KDQJHȋ EXWWRQ VHOHFW WKH SURȴOH FUHDWHG IURP WKH GURSGRZQ ER[ GLVSOD\HG LQ WKH QHZ SRS XS ZLQGRZ )LQDOO\ click on the “Save” button.
Services 12.5. Saving the information received This section explains how to get the information sent by the Smart Parking nodes to the callback server. 7KH VHUYLFHV LPSOHPHQWHG E\ /LEHOLXP ORJ WKH LQIRUPDWLRQ LQ D ȴOH E\ GHIDXOW 7R VDYH WKH LQIRUPDWLRQLQ D GDWDEDVH RU D FORXG VHUYLFH IROORZLQJ ȴOHV LQ FKDUJH RI GRLQJ WKH RSHUDWLRQV GHVFULEHG LQ WKH FDOOEDFN VHUYHU QHHG WR EH PRGLȴHG • Sigfox: your_callback_server_path/services/sigfox/index.
Services Methods Name Description Class constructor. void __construct (String device_ID) Device ID has to be sent as a parameter. It will be saved in the attribute device_id. void reset (void) Reset all attributes. void get_info (String data) Decode the information received from the node and store it in the attribute info. The information received from the node has to be sent as a parameter. The information decoded will be saved in the attribute info.
Services Frame type 1 = Keep-Alive frame Name Description sensor_msb Times that the sensor is used in the las 24 hours. sensor_lsb sigfox_msb Times that the Sigfox radio is used in the last 24 hours. sigfox_lsb lorawan_msb Times that the LoRaWAN radio is used in the last 24 hours. lorawan_lsb resets_today Number of resets generated in the last 24 hours.
Services x_msb Reference value from the sensor associated to the X axis. x_lsb y_msb Reference value from the sensor associated to the Y axis. y_lsb z_msb Reference value from the sensor associated to the Z axis. z_lsb Battery voltage in millivolts. To convert to millivolts, use the next formula: battery_level Frame type 4 = Start frame number 1 Name Description temperature_msb Raw temperature from the parking internal sensor.
Services Frame type 5 = Start frame number 2 Name Firmware version. CODE_ID Firmware version. NM_START Beginning hour of the night mode. NM_PERIOD Duration in hours of the night mode. NM_SLEEP_TIME Sleep time between consecutive sensor measurements (during night mode). NM_KEEP_ALIVE Elapsed time since last transmission to trigger a Keep-Alive frame (during night mode). RADIO_MODE Selected transmission mode between Sigfox, LoRaWAN y their combinations.
Services Byte 0 has always the same format in all frames and it is compulsory to start with it in order to know which frame type is.
Troubleshooting 13. Troubleshooting 13.1. Windows does not recognize USB ports Sometimes it is possible that your computer does not recognize the USB port where the board is plugged. It is EHFDXVH \RX GR QRW KDYH LQVWDOOHG WKH SURSHU GULYHU IRU WKH GHYLFH EXW GR QRW ZRUU\ ZH ZLOO WHOO \RX KRZ WR ȴ[ this issue. Firstly, it is necessary to open the Device Manager in order to see what device is not being detected.
Troubleshooting Then, the driver must be searched in the computer, in particular the same path where the Smart Devices App has been installed. Figure : Search the driver in the computer 2QFH YDOLGDWHG WKH SDWK WKH QH[W SRS XS ZLOO EH GLVSOD\HG QRWLFLQJ WKH GULYHU LV QRW YHULȴHG 8VHUV KDYH WR FRQȴUP clicking on “Install this driver software anyway”. Figure : Security warning After a while, the driver is installed.
Troubleshooting %XW WKH SURFHVV LV QRW ȴQLVKHG 7KH ȴUVW GULYHU LQVWDOOHG LV Ȋ86% 6HULDO &RQYHUWHUȋ EXW LW LV QHFHVVDU\ WR FKHFN WKH Device Manager list to verify the status. If the warning remains near the USB serial port, users have to repeat the “Update driver software” process again.
Troubleshooting 13.2. How to know the port where the device is plugged in Users have to select in the Smart Devices App the port assigned to the Smart Parking node in the computers to make any operation with the Smart Parking node. The assigned port depends on the USB devices that the users have plugged in their computers. The port displayed in the images of this guide may not correspond with the users port.
&HUWLȴFDWLRQV 14. &HUWLȴFDWLRQV This document applies to the following Smart Parking model, approved for FCC: Model FCC ID Smart Parking US XKM-PARKING-V1 14.1. 86$ &HUWLȴFDWLRQ 0RGLȴFDWLRQ VWDWHPHQW /LEHOLXP KDV QRW DSSURYHG DQ\ FKDQJHV RU PRGLȴFDWLRQV WR WKLV GHYLFH E\ WKH XVHU $Q\ FKDQJHV RU PRGLȴFDWLRQV could void the user’s authority to operate the equipment. Interference statement This device complies with Part 15 of the FCC Rules license-exempt RSS standard(s).
Disposal and recycling 15. Disposal and recycling In this section, the term “Waspmote” encompasses both the Waspmote device itself as well as it enclosure. When Waspmote reaches the end of its useful life, it must be taken to an electronic equipment recycling point. The equipment must be disposed of in a selective waste collection system, and not that for urban solid residue. Please manage its disposal properly.