Coder Social home page Coder Social logo

wio_link's Introduction

#Wio Link

Introduction

Wio Link is designed to simplify your IoT development. It is an ESP8266 based Wi-Fi development board for you to create IoT applications with open-source, plug and play electronics, mobile APPs and RESTful APIs.The key feature of this project is that users never need to program one line of code before he get all the Grove modules into Web of Things.

Features:

  • Totally open sourced for both software and hardware
  • No need microcontroller programming
  • Config with GUI
  • Web of Things for hundreds of Grove modules (covering most IOT application domains)
  • WiFi enabled with ESP8266 which is not expensive to have
  • Security enhenced (AES for session between node & server, https for API calls)
  • RESTful APIs for application
  • Lightweighted and open sourced broker server based on Tornado
  • Deploy private server with Docker

Video: 3 Steps. 5 Minutes. Build IoT Device.

About the Server

Currently we have two sandbox servers - one for international users while another for users inside China. Due to the (G)(F)(W), users in China mainland can not access the international server smoothly. There're options in the App to select the server.

The sandbox servers are free to use, but we can't guarantee the quality of the service persists good if the amount of connections becomes large. As the project is open sourced, we recommend users deploy their own server for private application. The server can be a local server or a VPS, even can be a lean computer like Raspberry Pi. See next section "Documentation" for the deployment guide.

Documentation

How to write module driver for Wio Link?

A compatible module driver can be scanned by the server and be integrated into the online compilation service. Users can develop driver for their own modules. The low level of this project is based on the esp8266 Arduino project. Arduino SDK functions can be called in the drivers.

The only difference between writing a Wio Link compatible driver and writing an Arduino compatible driver is that, you need to follow some rules to write the header file. It is for the scanning script to process it correctly. Please move to this guide to see the rules.

Users can pull request to this github repo to integrate the developed driver into the online compiling system, and at the same time into the mobile App. SEEED's staff will test the merged driver. If it's written correctly, we will accept the pull request and update the web services to let users use this module. For advanced users, we recommend to deploy a self server, to add 3rd party drivers immediately.

License

This project is developed by Jack Shao([email protected]) for seeed studio.

This project refers to:

ESP8266_Arduino, mbed ssl, Espressif SDK, Tornado, PyYaml, PyJWT, pycrypto

Thank them very much.

The code written in this project is licensed under the GNU GPL v3 License.

Analytics

wio_link's People

Contributors

awong1900 avatar dcflachs avatar gabeduke avatar killingjacky avatar matsujirushi avatar retro486 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wio_link's Issues

Web interface for Wio_link Private server

I don't think it as an issue but I tried to look around but I could find any answer. So I am posting it here.

Does Wio Link Server have some kind of web interface to moderate user and devices? If yes, it will be great if you can point me out some resource for that.

pitfalls setting up own server

I'll list a bunch of pitfalls I trial and errored through, so maybe they may be fixed or documented for other users.

I'm using a temparature sensor, to have a simple test target.
I first set up a wio link with it, signed up to the public wio link server, configured my local wlan with it, got the device configured on my android. Let it compile the firmware for the sensor, uploaded it, were able to fetch values, everything fine.

Now the torture starts - wanted to have my own local server running. Fell into the trap that I followed:

https://github.com/Seeed-Studio/Wio_Link/wiki/Server-Deployment-Guide#33-how-to-tell-the-node-to-connect-the-lean-server

since it seemed to be the only howto telling how to connect to a local server. Made it re-compile and upload the firmware, saw that it wouldn't recognize the device. Used Curl and the api documentation to generate a User, and the device. Patched in to provision the device node, so it would recognize the board. But then, the server wouldn't accept data from the device:

[I 160812 12:06:51 server:432] xchange device server accepted conns: 1
[I 160812 12:06:51 server:136] accepted sn: 3b4c4bf11918fad3671d5936f3108398 @fw_version 1.2
[E 160812 12:06:51 server:186] 'signature not match: \xc2\xd3<\xd6\xe6\x85P;(R\x15|\x95H#\x89\xd0\x03vR\x1a^\x95~8\xa8\xf3H\xa3\x9b\xc2 \xc4Q\rl}\xcb\x9e\xe9|\xc9T\xfe+E\xe1;\x14\xaf\x0f\xd7Q\x8c\xfe\xda\xee\x05|UmJ\x1fq'
[I 160812 12:06:51 server:437] xchange device server will remove connection: <main.DeviceConnection object at 0x7fae5e129710>

Since the app didn't allow to change the server, I unwinded everything, and then signed up to my local server. However, it wouldn't allow me to sign in with my previously created user & password, I had to create a new one.

Then I tried to re-add the wio-link. It failed with the state where the mobile tries to send the wio the wlan password, (which it seems it already knew) since I think these log-lines are from the communication with the wio-link:
[I 160812 12:40:06 web:1971] 200 GET /v1/nodes/list (192.168.3.121) 1.41ms
[I 160812 12:40:06 server:432] xchange device server accepted conns: 1
[I 160812 12:40:06 server:136] accepted sn: 85517c7c04a30c058501175447906bcb @fw_version 1.1
[I 160812 12:40:06 server:165] valid hello packet from node e5e5e380607811e685555c514fa4222f
[I 160812 12:40:06 server:429] ota device server accepted conns: 1
[I 160812 12:40:06 server:136] accepted sn: 85517c7c04a30c058501175447906bcb @fw_version 1.1
[I 160812 12:40:06 server:165] valid hello packet from node e5e5e380607811e685555c514fa4222f

However, the mobile would insist over and over again that it couldn't talk to the wio's hotspot when trying to send the wlan password. So the app wouldn't get into the state where it knows that there is a valid device configured with the server.

So I pulled out my Wio Nano which hadn't been configured over here. I also had to re-push the connect button during the setup, but it eventually managed to get through that procedure.

First time firmware compiling failed due to missing path environment, second time it failed somewhere inbetween, third time it worked.

So, it seems one can only change the server URL when working with a lean server? Please change the app so that it shows the OTA server URL in unchangeable, and below the changeable URL of the Data Exchange Server (lean server)

Please add a logic to the app that it scans with the Server whether the device already registered, if the device isn't there anymore when trying to set the wlan password.

Multichannel Gas Sensor ist not working

Hello,

I'm trying to use the Multichannel Gas Sensor with the Wio.

But it's not possible for me. The test request returns: {"error": "The sensor is not connected."}

I have two Wios and already the second sensor. No combination was working.

Is there a bug?

Best wishes

Undocumented blue LED flashes

My Wio Link fell offline today. When I got home and looked at the board the blue LED was staying lit for approximately 8-10 seconds (my count) then flashing quickly then repeating this cycle. Board is unresponsive to config button push and hold, and power cycling the board brings it back to the same state.

API variables changing

I have a custom program, which declares a boolean variable named strict.

Using the API, I can change the variable without a problem. But it looks like it sometimes resets.

curl https://us.wio.seeed.io/v1/node/variable/strict -> "0"
curl -X POST https://us.wio.seeed.io/v1/node/variable/strict/1
curl https://us.wio.seeed.io/v1/node/variable/strict -> "1"

I'll check it again a few hours later:
curl https://us.wio.seeed.io/v1/node/variable/strict -> "0"

The variable can only be change throu the Internet, and this behavior appeared hours after pushing the update, so I'm 100% sure that nobody's playing with my API tokens.

I guess the Wio Link restarts every few minutes / hours, since "0" is the default value of my variable. If so, where is it documented?

Build dependencies not documented

Build dependencies are not documented, but should be.

For example, I was encountering the following error when attempting to compile the project:

X:\projects>build_firmware.py
Traceback (most recent call last):
File "X:\projects\build_firmware.py", line 27, in
import yaml
ImportError: No module named yaml

And when I tried to install yaml, I got this error:

X:\projects>pip install yaml
Collecting yaml
Could not find a version that satisfies the requirement yaml (from versions: )
No matching distribution found for yaml

Connecting to WioLink

Hi there, Ive been trying to connect with WioLink with my phone for the past 10mins yet to no avail. Also what is the IDE we can use to program on it ? Is there any step by step instructions for me to follow as I do not have much experience with iot

Instruction for windows

Hi, I am following the advanced user guide to use wio-link offline in windows. I am stuck at step 6.2.1, while executing this command "chmod a+x ../../scan_drivers.py". Are there any alternative commands for windows.

Wio Link

Just starting out with WIO Link. Can't get Relay or Servo to work. LED strip works great. Relay and Servo can't get past Update Firmware stage. Any tips?

Solid blue light

I reconfigured my wio link to connect to a new wifi network. It was working. In plugged it and moved it to a new location. It boots but the blue led stays lit.

I've tried reconfiguring it by holding the button but it never chances mode. I plugged into my computer and ran the wio Python program, it sees it but when I try to push network config to the device it just spins.

Is this unit now dead/bricked? Any options besides trying to reflash based in the advanced instructions?

Thabks

add swagger.io api description to server.py

You've got a nice api description, however it always will list your server.
If one tries to cut'n'paste the examples one has always to replace the hostname.

A http://swagger.io api description could be shipped alongside the server.py and be served by it. You then can talk to your local server.py, and directly test stuff.

Aside of that you can generate client stubs directly from the API.
We use swagger.io with ArangoDB for our API, and get lots of positive feedback for it: https://raw.githubusercontent.com/arangodb/arangodb/devel/js/apps/system/_admin/aardvark/APP/api-docs.json

You can also use the swagger editor with the compacter yaml representation for interactive editing.

I've tried to hook my wio link to my own server.py, but currently struggling with the procedure of authenticating and getting data from it?

Failing to configure

Hi, I am having difficulty configuring my Wio links. After many tries one of them is now configured, but I have tried 20 or 30 times and the other one will not configure. I always get the message saying Wio Link cannot connect to the router. I am providing the correct password.

The Wio Link stays in "breathing mode". There is no other activity on the LEDs, so it looks like it is not getting the configuration message.

I have tried connecting a console to the Wio link UART and seeing if there are any diagnostics. I see the start-up diagnostic messages. In config mode the baud rate is 115200. I then see no other messages Is there any way of getting and diagnostic information to see what is going wrong?

My phone is an Android Moto G running Android 6.0.

On Ubuntu 14.04 32-bit driver database won't build, no errors given.

Following the instructions here: https://github.com/Seeed-Studio/Wio_Link/wiki/Server%20Deployment%20Guide#2-deploy-directly-into-host-filesystem

I'm using the 32-bit linux precompiled toolchain from http://arduino.esp8266.com/package_esp8266com_index.json on a digital ocean Ubuntu 14.04 droplet.

I'm able to get the test server running just fine, and the scan_drivers.py script spits out a few "deprecated conversion from string constant to 'char*'' warnings, but no errors.

At the end, driver_docs.json is an empty array, drivers.json is an empty array, and scan_status.json contains:

{"result":"OK", "msg":"scanned 0 grove drivers at 2016-04-16 20:00:55.885686"}

So of course build_firmware.py fails with "can not find GroveRelay in database".

Looking at scan_drivers.py, it appears that the only time driver.json would be empty is if there's an error, which would be logged in scan_status.json, but that isn't happening, so I'm not sure what's up...

Wio Link Doesn't connect to private server

I have setup a private server on aws as explained here.
https://github.com/Seeed-Studio/Wio_Link/wiki/Server-Deployment-Guide

Installation worked smoothly from above guide. I am able to create an account and login into my server through wio link app but somehow my wio link device doesn't connect to the server. I know this from the blue led blink once quickly then off 1s suggesting its in connecting to the server state.

I have tried to connect my wio link to seeed server and it works well. Do you have any idea which I can try? Is there any web based interface to the server which I can test?

Bad Format of parameter data_server

I have the server deployed locally, and my wiolinks show up as online, but when I tap the View API, I get:

Bad Format of parameter data_server. SHould be: http[s]://domain-or-ip-address[:port]

I can query my the server and get data out with curl

Schematic

Hi

will have schematic of wio link?

Thanks

COM FAIL (serial port open error)

Hi guys! I am having some troubles here.

  • I downloaded the app (for Android) and I created my account
  • I connected my phone to my WIFI network and I enabled the GPS
  • I connected the WIO Link to the power and press the config button (for 4 seconds)
  • I press the "GOT READY" button and I can see the WIFI of the WIO LINK (WioLink_XXXXXX)
  • Whe I press WioLink_XXXXXX, the phone loss the WIFI connection and the app show "Connecting to WioLink_XXXXXX"... and I am still waiting...

My phone is an Android 5.0.1 (Galaxy S4)

I thought that WIO LINK was bricked, so I tried to follow the procedure indicated in the Advanced User Guide, but I receive another message: COM FAIL (serial port open error)

captura2

Please help!!!

Image of driver not shown in the app

Hi,
I've started implementing my own driver and wanted to add the image from its vendors page.

This is what I've added in the header file so the scanner job will find it:

//GROVE_NAME        "Adafruit - I2C Accelerometer"
//SKU               ADAFRUITLIS3DH
//IF_TYPE           I2C
//IMAGE_URL         https://cdn-learn.adafruit.com/guides/images/000/001/166/medium800/topp.jpg
//DESCRIPTION       "Adafruit - I2C Accelerometer LIS3DH."
//WIKI_URL          https://learn.adafruit.com/adafruit-lis3dh-triple-axis-accelerometer-breakout
//ADDED_AT          "2016-05-31"
//AUTHOR            "Wilfried Goesgens"

Everything compiles fine, My plugin gets listed, I can add it to a connection of my WIO NODE, compile the firmware... but it won't show the icon neither in the list nor when the sensor is dragged to the connection...

Help setting up the Wio Tracker

Sir,
I am based in Africa and I purchase Wiotracker board. I am totally new to IOT and Arduino I am not able to move forward.

  1. When I terminal the board, I get following Error.
    Vgnss=7.59 vgnss error
    io_value=3 IO test fail
    VBAT=7.92 Vbat error
    V3V3B=7.43

  2. Which board type I must select when I am on Arduino IDE ?

  3. When I upload the files in the IDE, I get error avrdude: butterfly_recv(): programmer is not responding

Some experts please help me.

Pressed the 'Got Ready' button and the app should list the WIO to connect to.

Not sure if this is the same issue as no 4, it could be...

Received my WIO link two days ago, was super excited, but got stuck very early on. :-(

Using the App V2.1.2 on Andriod V5.0.1 on a Galaxy S4.

After pressing the Config button for 4 seconds, the blue light is mostly (dimly) lit with the odd flash, pressed the 'Got Ready' button and the app should list the WIO to connect to. But nothing happens. Pulling up and down seems to trigger a refresh, but still nothing appears.

I can see the WIO in list of Wifi networks on the phone (if you held down the config button on the WIO). I tried connecting to the WiFi first, as well as during the time I was running the app. The phone connects, WIO gives me an IP, but then I get a 'connect server failure' message in the App when I press the 'Got Ready' button.

Rebooted the phone, 'forgot' the WIO network settings..
Followed the instruction to re-flash the WIO, and that process worked, but no change in getting the phone connected. I ran out of ideas to try .... any suggestions?

debugging messages

Hi,

I have my WioLink connected via USB and can see the startup messages in a terminal on ttyUSB0. Setting
ENABLE_DEBUG_ON_UART1 1
in ./node_main/user_config.h the blue led stays dark and i expected to see the output from Serial1.println() statements also - but nothing shows up. Did i miss some further steps to enable debugging?

Regards
Thomas

Update firmware

Hello, I've worked with a conventional esp8266, but I've bougth your target and I'd like to update a firmware from my computer, could you tell me how to connect the pins? (I have a usb-ttl convertor and mi SO is Linux - ubuntu)

400 Client Error: Bad Request for url: https://iot.seeed.cc

Hello,

I'm trying to create my own server to test grove drivers for wio link.
I installed python and all necessary packages but I'm still blocked here
[I 160725 22:14:02 server_lean:824] Fetching the list of nodes...
[I 160725 22:14:02 connectionpool:788] Starting new HTTPS connection (1): iot.seeed.cc
[E 160725 22:14:03 server_lean:837] 400 Client Error: Bad Request for url: https://iot.seeed.cc/v1/user/login

I checked everyhing, but still in troubles with the request

r = requests.post('https://iot.seeed.cc/v1/user/login', data={'[email protected]':'xxxxxxx'}, verify=True)

Any guess?
Thanks,
Peter

Android app has trouble connecting to Wio Link

I've just received my Wio Link, and I'm trying to connect from a Nexus 6P.

I have two problems:
(1) The initial connection only works very rarely, perhaps 1 time in 10. I see the Select Wio Link form, tap on my Wio Link, then see 'Connecting to WioLink_xxx' and a spinner on a popup. That popup rarely goes away.

(2) Occasionally, if I tap Back and select the WioLink_xxx again, I see the Select AP form. I can pick an AP, then I see 'Sending wifi password' and 'Waiting Wio Link get ip address'. However, that always ends with this:

"Wio Link cannot connect to the router. Please check AP password or closer with AP. Please reset Wio to configure mode and try again".

It looks to me as if the communication between Android and Wio Link is just very flaky.

What should I try next ?

Thanks,

Richard

Syncing Data....

Hello I just received my Wio Link and Wio Node. I have tried to follow the instructions and find that on Step 3 the screen indicates"Syncing Data"...We are almost there! This process will take about a minute. This message with the spinning circle remains without finishing. Am I doing something wrong? I have tried all the servers available with the same result, and both the Node and the Link. The instructions on the website as well as the videos on YouTube are difficult to follow as the app on my Android phone does not look like the examples. Due to the app being more recent on my phone? It would be nice if the site was updated showing the most recent app.
Any advise would be helpful .
Thank you.
Rob./

grove_ir_receiver compatibility

Hi,
Combining grove_ir_receiver with grove_temp_hum, reading the sensor crashes my Wio in ~2 out of 5 calls. I could trace the crash to suli_delay_ms(250); in GroveTempHum::_read(). I did some more tests and it seems that any call to suli_delay_ms() causes a restart (sooner or later) when the IR Receiver is active.

Debugging console shows:

Boot reason: EXCEPTION
Node name: esp8266_node
FW version: 1.1
Chip id: 0x008b3609
Free heap size: 25072

In the Terminal connected to the micro-usb:

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 1396, room 16 
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4 
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4 
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 32Mbit(1024KB+1024KB)
jump to run user2 @ 101000

don't use rtc mem data
rl��rl��

Could this be a general problem caused by the 50 µs timer interval in grove_ir_receiver?

Thomas

Moto G 4 Plus WiFi permission

Hi

I have Moto G 4 Plus and the app always asks me to check the wifi permissions, although the permissions granted appear

If you can pass that application window, try to connect with the link I get error 1042

Android version 6.01

Thanks

local lean data exchange

We need a discussion forum :)
Anyone get the docker server or the local lean data exchange to work? It appears to be working, can run all kinds of RESTful API requests but the Android App won't have anything to do with it :}
The server_lean.py actually logs in a gets my node list from international server but hitting it with the Android apps just gets:
[W 160403 17:34:08 web:1946] 404 POST /v1/user/login?email=myemail%40mydomain.com&password=********** (192.168.1.114) 1.34ms

'SERVER ERROR' Cannot Login/Register Android App

Trying to set up everything, but continue to get vague 'SERVER ERROR' notification. Something wrong with the android app? Is there a web-app to use instead? Below are the symptoms and phone specs, Thanks in advance...

  1. Downloaded android app.
  2. I already have a Seeed account so tried to login, 'SERVER ERROR'
  3. Tried to create an account, just in case, and still... 'SERVER ERROR'
  4. Continue to try... nothing

-Pixel XL
-Android 7.1.5

Wio Link does not work with many WiFi setups

Wio Link does not connect to a WiFi network if:

  • The network has a terms of service web page pop up that appears after you connect
  • The network uses enterprise WiFi setup with a username and password

Can't connect

I have an issue that started a few weeks ago, where I simply cannot connect to the Wio servers through any WiFi network nor can I set debug on the device.

I've tried:
• Connecting to multiple networks, once I enter the credentials for the new network, the light just blinks in the "connecting to server" pattern for 10+ minutes. I can see it connected to my WiFi, but it never finishes setting up

• Flashing the firmware. Same results

• Turning on debug on the device. I put it into configure mode, connect to its wifi, then:

wio config --debug on
Setting failure!!
Note:
    1. Ensure your device is Configure Mode.
    2. Change your computer network to Wio's AP.

Any ideas? It worked perfectly for months and was being used on a daily basis before this happened

Advanced use: unclear instructions

In https://github.com/Seeed-Studio/Wio_Link/wiki/Advanced%20User%20Guide
the instruction as to how "Use Wio Link's SDK and Program in Arduino-Style" are really not clear.

Files Main.cpp and connection_config.json for instance are mentioned but don't exist in the git repository. Also the possibility to use the Dockerfile to get ESP SDK isn't mentioned.

An example showing for instance how to read the DHT and display the values on the RGB LCD could be very useful here.

unable to connect wio board to docker P1

When I try to configure the wio board using my phone it doesn't work.
I see the following in the apache access log of the reverse proxy:
94.208.95.110 - - [14/Apr/2016:20:54:10 +0200] "GET /v1/nodes/list?access_token=hmT2QQP55KvbG-4RJlu4zrt4fd13OQDtAXtAyoqOKWA HTTP/1.1" 304 - "-" "Wio Link/1.3 (iPhone; iOS 9.3.1; Scale/2.00)"
94.208.95.110 - - [14/Apr/2016:20:54:10 +0200] "GET /v1/nodes/list?access_token=hmT2QQP55KvbG-4RJlu4zrt4fd13OQDtAXtAyoqOKWA HTTP/1.1" 304 - "-" "Wio Link/1.3 (iPhone; iOS 9.3.1; Scale/2.00)"
94.208.95.110 - - [14/Apr/2016:20:54:10 +0200] "GET /v1/nodes/list?access_token=hmT2QQP55KvbG-4RJlu4zrt4fd13OQDtAXtAyoqOKWA HTTP/1.1" 304 - "-" "Wio Link/1.3 (iPhone; iOS 9.3.1; Scale/2.00)"
94.208.95.110 - - [14/Apr/2016:20:54:10 +0200] "GET /v1/nodes/list?access_token=hmT2QQP55KvbG-4RJlu4zrt4fd13OQDtAXtAyoqOKWA HTTP/1.1" 304 - "-" "Wio Link/1.3 (iPhone; iOS 9.3.1; Scale/2.00)"
94.208.95.110 - - [14/Apr/2016:20:54:10 +0200] "GET /v1/nodes/list?access_token=hmT2QQP55KvbG-4RJlu4zrt4fd13OQDtAXtAyoqOKWA HTTP/1.1" 304 - "-" "Wio Link/1.3 (iPhone; iOS 9.3.1; Scale/2.00)"
94.208.95.110 - - [14/Apr/2016:20:54:13 +0200] "GET /v1/nodes/list?access_token=hmT2QQP55KvbG-4RJlu4zrt4fd13OQDtAXtAyoqOKWA HTTP/1.1" 304 - "-" "Wio Link/1.3 (iPhone; iOS 9.3.1; Scale/2.00)"
94.208.95.110 - - [14/Apr/2016:20:54:17 +0200] "GET /v1/nodes/list?access_token=hmT2QQP55KvbG-4RJlu4zrt4fd13OQDtAXtAyoqOKWA HTTP/1.1" 304 - "-" "Wio Link/1.3 (iPhone; iOS 9.3.1; Scale/2.00)"

what can be the issue?

Debug serial not working?

I've tried to follow this howto:
https://github.com/Seeed-Studio/Wio_Link/wiki/Advanced-User-Guide#4-debug-console

with my Wio Link. I can see the startup messages via the USB interface, and as stated in the howto it stops talking after the reboot.
I've attached a serial usb converter to the UART1 as stated later on in the howto.

I saw the same boot prompt on that as on UART0 via the onboard USB serial interface - so it seems to be working.

Now I've changed node_main/user_config.h like that:
+#define ENABLE_DEBUG_ON_UART1 1

The only ready made example which I found in the source seems to be the sound example that has:

if ENABLE_DEBUG_ON_UART1

Serial1.print("interval");

http://www.seeedstudio.com/depot/images/product/Grove%20Speaker_01.jpg

So I've hooked up the speaker to the middle port next to the serial connector, re-flashed and was hoping to see 'interval' printed on the serial console - nothing happened.

Whats wrong?

Fatal Exception (0)

After discharging on a battery, the board will not wake up again. I've tried flashing it twice. It will not accept config signal from the on-board switch or is it affected by a reset. This happens with the battery or direct connect via usb to my laptop. The following statements are streaming to the serial console without end:

Fatal exception (0):
epc1=0x4020d310, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x0
0000000
Fatal exception (0):
epc1=0x4020d310, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x0
0000000
Fatal exception (0):
epc1=0x4020d310, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x0
0000000

Error with ./scan_drivers & xtensa-lx106-elf-gcc

Hello,
I run on mac os X.
When running ./sac_drivers, i have the following error at the end :
/bin/sh: xtensa-lx106-elf-gcc: command not found make: *** [aes.o] Error 127

Then I installed xtensa-toolchain from github but nothing change?
Thanks,
Peter

Read 125KHz RFID Reader

Hey guys,

it's a lot of fun to build projects with the Wio.

I'm wondering how it is possible to read a card ID with a RFID Reader connected to a Wio?

Thanks.

Initial setup - 1042 if mobile data is turned on

Hello.

I was getting started with Wio Link and i found an issue when mobile data is also turned.
Screenshot on Dropbox

I was using a Nexus 5X with stock Android version 7.1.1 and December 5, 2016 patch level.
After turning off mobile data i could successfully configure my Wio Link.

Also i noticed that Location must be turned on, i can't understand why it would need my location.
The error displayed if Location is turned off is also missleading.
Screenshot on Dropbox

Update firmware using ubuntu

Hello, me again.
I've been trying to update the firmware using Ubuntu, I'm following this tutorial, https://learn.adafruit.com/downloads/pdf/building-and-running-micropython-on-the-esp8266.pdf
I have to connect the board to usb-ttl convertor, but I've not found the correct way, Advanced User Guide says one have to connect UART1 TX to the pin RX of convertor and also the Ground line, I did it but I got an error "Inappropriate ioctl for device" like if the board is not well connected. Do you have any information about updating firmware using Ubuntu, or about this error?
Thank u so much.

architecture question of xchange server path

Reading through the documentation I didn't find any notes on the communication flows.
Reading through the code and watching netstat / tcpdump it seems to be like this:

  1. the provisioned device connects the xchange server, and explains it which endpoints it has
  2. this tcp connection device <-> xchange server is held open
  3. an http client connects to one of the endpoints of the REST server
    3a) the server queries the device via the existing tcp connection
    3b) hopefully the device will reply with a value
    3c) the received value is transfered back to the REST HTTP-Client in json format

did I get that correctly?

no such table

I've downloaded the docker for hosting my own api server. When I try to create a user suing my phone or the Pyhton scripts I receive the same error: "no such table: users"

Can you please advise?

Deploy a Local Lean Data Exchange Server into Raspberry Pi

Hello everyone,
I am new to this environment and sorry for any inconvenience. I am trying to deploy a lean server into Rpi and still could not do that. When start the lean_server it show the message on cmd as follows.
Please help me to solve this issue
lean_server

How to scan I2C module to get adress?

Hello,
I'm working on my first driver : grove dust sensor for which I need to know the I2C address.
I can't find a similar hex adress on a similar driver since no one work on a I2C driver for this sensor.
How to scan I2C device on my wio link to know the I2C adress of my grove module?
I found I2C scanner but only working on arduino. Is there are any way to launch a python program on my mac OS? I have already a copy of the server connected to my wio.
Other question : Is this hex adress similar for anyone with same grove module.
What happend when using the I2C hub?

Thanks for help.
Peter

build_firmware.py fails

Hi,
I'am having trouble building the firmware:

user_code_pack.a(core_esp8266_main.cpp.o): In function `init_done()':
core_esp8266_main.cpp:(.text+0x54): undefined reference to `cont_run'
user_code_pack.a(core_esp8266_main.cpp.o): In function `loop_task(ETSEventTag*)':
core_esp8266_main.cpp:(.text+0x7b): undefined reference to `cont_run'
user_code_pack.a(core_esp8266_main.cpp.o): In function `do_global_ctors()':
core_esp8266_main.cpp:(.text+0x128): undefined reference to `cont_yield'
core_esp8266_main.cpp:(.text+0x142): undefined reference to `cont_yield'
collect2: error: ld returned 1 exit status
make: *** [user1.elf] Fehler 1
core_esp8266_main.cpp:(.text+0x54): undefined reference to `cont_run'

Some research led to a missing 'cont.S' assembler module but I have no clue how to proceed :(

Any hints?

Regards
Thomas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.