Back to Smartcitizen.me

Everything setup but not data transmitted

Hello,

It looks like that my SCK is not able to send the data.

The device is http://smartcitizen.me/devices/view/749

and this is the log from arduino console:

SCK Waking up…
SCK Connected!!
updates = 1
Posted to Server!
Old connection active. Closing…
SCK Sleeping


Temperature: 30.9 C
Humidity: 22.5 %
Light: 14.0 lx
Battery: 76.0 %
Solar Panel: 0 V
Carbon Oxide: 89.886 kOhm
Nitrogen Dioxide: 10.421 kOhm
Noise: 43.62 dB
Wifi Spots: 5
UTC: #


SCK Waking up…
SCK Connected!!
updates = 1
Posted to Server!
Old connection active. Closing…
SCK Sleeping


Temperature: 30.9 C
Humidity: 22.7 %
Light: 14.0 lx
Battery: 76.0 %
Solar Panel: 0 V
Carbon Oxide: 88.737 kOhm
Nitrogen Dioxide: 10.421 kOhm
Noise: 30.00 dB
Wifi Spots: 5
UTC: #


Any idea why that is not working ?

Hello piff,

this seems to be your kit is not registered in to the platform.

Please, either go to:

http://smartcitizen.me/devices/configure/749

Click on “Get mac address” and then “Register”. Remember you must enable Java as explained on the tutorial:

http://smartcitizen.me/posts/view/6

An other option is to manually request the kit mac address using the serial terminal and then paste it on the same field as on the previous step. To manually request the mac address please follow this tutorial.

http://smartcitizen.me/posts/view/10

Please let us know if this make it work.

The page to setup the mac address is very hard to reach on the Mac.
The default Java installation on Maverick do not allow to run the applet ever so
the only possibility is to wait for the applet to crash then setup the mac address.
Is there any other way to manually setup the mac address ? Here is my SCK Mac Address 00:06:66:32:39:56

I have to agree with piff. Everything to do with flashing the boot loader (I screwed up the first time) and downloading the Sketch worked perfectly. Setting up the SCK WiFi was a little tedious but not really any harder than adding my phone to the network. A little harder but not that bad. The web interface was not so easy to use thanks to Apple’s JAVA-phobic mentality. I finally got it to work but it wasn’t easy by any means.

Can you explain how you set up the wifi?

I setup the wifi using the serial interface in arduino.
Please note the I see the device in my router connecting and I do not see any error in arduino serial monitor.
I get a series of sensors reading followed by
updates = 1
Posted to Server!

Is there a way to see the device by Mac address in the web interface ?
Is there a way to check if my sensor is correctly connected with my device
(mac address) ?

Best

Hi,

Sorry again for the Java Applet not working for everyone, we are beta testing a new version not java dependent to be released soon.

Meanwhile the manual setup should work without problem.
I’ve just tried on a mac and I encounter no problem in filling the input text “macaddress” on the configure page of my kit. Just fill it with the mac
address you got from this serial command :

$$$
GETMAC \

EXIT \

Hope thats help

OK I’ve just checked piff, you seems to have the right mac address registered in the DB. But seems to be 3 days you haven’t sent data. an other problem ?

I have no idea. The device is on.

this is the log it seems to post on the server correctly
but it does nota appear anymore on the website.
Is there any way to better debug that ?

Updating RTC…
SCK Sleeping…
SCK Waking up…
SCK Connected!!
updates = 2
Posted to Server!
Old connection active. Closing…
SCK Sleeping


Temperature: 32.7 C
Humidity: 19.2 %
Light: 0 lx
Battery: 100.0 %
Solar Panel: 0 V
Carbon Monxide: 95.262 kOhm
Nitrogen Dioxide: 10.193 kOhm
Noise: 66.68 dB
Wifi Spots: 4
UTC: #


SCK Waking up…
SCK Connected!!

I’ve seen that it was working for some time but now is again 7 days your kit is not publishing data…
Are you still experimenting problem with your kit ?

this serial command :

$$$
GETMAC \

EXIT \

which code are you running when you enter this command. Terminal of sf-client and at which point in time do you enter $$$.

thanks Kamiel

Hi kamiel. If you wait another 2-3 days, a new online loader will be release to help you setup your kit. If you want to test the beta version, have a try on this beta website :
http://sandbox.smartcitizen.me

If you still would like to setup your kit by serial, here is a tutorial :
http://smartcitizen.me/posts/view/10

Best