Comments (18)
Here some output from the console:
smartjs 30048/2484$ Wifi.status()
got ip
smartjs 29464/2388$ Wifi.ip()
192.168.1.108
smartjs 29464/2388$
from mongoose-os.
Thank you, we broke the dashboard visualisation.
Could you check if you an see your raw data on https://dashboard.cesanta.com/#/db by executing this query:
{src=~".*"}
?
from mongoose-os.
I get this result:
[[{"__name__":"temperature","sensor":"1","src":"//api.cesanta.com/d/dev_84227"},[[1443690822306,37.5488386757]]],[{"__name__":"temperature","src":"//api.cesanta.com/d/fakedevice03"},[[1443628202572,27.03]]],[{"__name__":"temperature","src":"//api.cesanta.com/d/fakedevice01"},[[1443628201987,13.94]]],[{"__name__":"temperature","src":"//api.cesanta.com/d/fakedevice02"},[[1443628202260,19.3]]]]
I don't remember if dev_84227 is an old device. Anyway I don't see data from the last device.
from mongoose-os.
@fedy2 I've restored the visualization part, could you try again please?
from mongoose-os.
I see the chart scrolling on the left but no values on it. In the IDE area the device results offline.
from mongoose-os.
@fedy2, we currently have a bug with multiple tabs/windows. Could you see if you have the same problem when you have only one tab/window open on dashboard.cesanta.com ?
from mongoose-os.
@mmikulicic I'm using only one browser tab/windows with one "instance" of the dashboard. When I've used the tab term I've referred to the different areas of the dashboard.
from mongoose-os.
ok, we fixed that, unrelated, bug anyway
from mongoose-os.
@fedy2 what is the ID your device is using now?
from mongoose-os.
ID: //api.cesanta.com/d/dev_65156
from mongoose-os.
From what I see in the logs your device never connected and all commands sent to it ended up in the queue.
from mongoose-os.
I see it in my network. There is a way to test if it can communicate with your servers? Any console command?
from mongoose-os.
I've run this code:
Http.get("http://jsonip.com", function(data, error) {
if (error) {
print("error ", error);
} else {
print("my ip is ", JSON.parse(data).ip);
}
});
And I got the IP printed:
smartjs 12704/1812$ my ip is 87.XX.XX.195
So I think the device can communicate with the world.
from mongoose-os.
And you ran demo()
function, right?
from mongoose-os.
Nope :( forgot about, sorry.
I've tried now to run it different times but the ESP seems hanging.
The last time I got this:
smartjs 16912/1980$ demo()
Initializing demo data source
Starting temperature push demo in background, type Debug.mode(1) to see activity
ets Jan 8 2013,rst cause:4, boot mode:(1,0)
wdt reset
Can be a power issue?
from mongoose-os.
Please turn on debug logs with Debug.mode(1)
and try again
from mongoose-os.
Here the output:
demo()
Initializing demo data source
Starting temperature push demo in background, type Debug.mode(1) to see activity
Pushing metric
ets Jan 8 2013,rst cause:4, boot mode:(3,0)
wdt reset
load 0x40100000, len 26380, room 16
tail 12
chksum 0xd1
ho 0 tail 12 room 4
load 0x3ffe8000, len 2564, room 12
tail 8
chksum 0x1c
load 0x3ffe8a10, len 6320, room 0
tail 0
chksum 0xbe
csum 0xbe
���� y�r�'����θ��������������p��b�#�n�$��b��>����rn�$����r����n�����rn���N����������������8��b�#�n�$�p�����r�'bl����;����� n�{���l��� ����b����ؒ���`������#��� y�r�'����θ������������8��b�����nn�$��b|����rn�$�Ì�r������������rn�ď����l���r����n�������rn���θ�����������l���r�����?b��r����Ă���p`�����8��Ē`�Ĝ�r������n��������NDz�mode : softAP(1a:fe:34:9c:a2:a1)
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
add if1
bcn 100
apnetif->dhcps_pcb = 1073709328
bcn 0
del if1
usl
sul 0 0
mode : sta(18:fe:34:9c:a2:a1)
add if0
Device id: //api.cesanta.com/d/dev_76813
Device psk: psk_XXXXX
Cloud: //api.cesanta.com
HELO! Type some JS. See https://github.com/cesanta/smart.js for more info.
smartjs 15128/1968$
from mongoose-os.
Demo
function was removed.
Now we offer sendRandomData
and I do believe it works.
from mongoose-os.
Related Issues (20)
- ESP-IDF update for ESP-32 to protect against Braktooth HOT 1
- Self re-trigger crashes with stack canary or double exception (ESP32) HOT 2
- Camera connect
- ESP32 reboots continuously after flashing new build.
- Possible race issues? HOT 1
- Running out of RAM during OTA update HOT 2
- Failed to flash ESP32-S2 HOT 1
- Resource leaks HOT 2
- Potential resource leaks HOT 2
- Adding api_timer.js gave core dump HOT 7
- Power Management in ESP32 HOT 4
- ESP32 SNTP sys.tz_spec weird result HOT 6
- Undefined reference to `ping_start'
- Support for ESP32-S3
- Google Cloud IoT Core will no longer be a service on August 16th, 2023 HOT 1
- esp32-c3 build fails with `unknown CMake command "add_prebuilt_library"` HOT 5
- mos fails to launch - Windows 10 HOT 2
- Mongoose OS using mongoose 6.18 with bugs in it
- ESP32 MQTT Broker Over WS HOT 3
- Certificate of build.mongoose-os.com expired HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongoose-os.