itead / iotgo Goto Github PK
View Code? Open in Web Editor NEWOpen source IoT cloud service
Home Page: http://iotgo.iteadstudio.com
License: MIT License
Open source IoT cloud service
Home Page: http://iotgo.iteadstudio.com
License: MIT License
你好,
感谢提供免费开源的IoT上位系统,正在学习如何使用及修改增加自己需要的内容,请问如何修改原有设备类型中的参数呢?例如:开关设备中,增加一个自定义Text属性用于功能扩展?
[root@localhost IoTgo]# DEBUG="iotgo" ./bin/www
/root/IoTgo/config.js:25
mailgun: {
^^^^^^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/IoTgo/routes/http.js:4:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/IoTgo/routes/index.js:6:12)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
这是什么原因?
配置文件
[root@localhost IoTgo]# cat config.js
module.exports = {
host: 'localhost', // Hostname of IoTgo platform
db: {
uri: 'mongodb://localhost/iotgo', // MongoDB database address
options: {
user: 'iotgo', // MongoDB database username
pass: 'iotgo' // MongoDB database password
}
},
jwt: {
secret: 'jwt_secret' // Shared secret to encrypt JSON Web Token
},
admin:{
'[email protected]': 'password' // Administrator account of IoTgo platform
},
page: {
limit: 50, // Default query page limit
sort: -1 // Default query sort order
},
recaptcha: {
secret: '', // Google reCAPTCHA serect
url: 'https://www.google.com/recaptcha/api/siteverify'
},
pendingRequestTimeout: 3000
mailgun: {
api_key:'', //Mailgun API Key
domain:'', //Mailgun Domain Name
from:'' //Mailgun Default SMTP Login Email
},
upgradeUrl:"http://v.itead.cc/api/upgrade"
};
另外一定要用google的验证码系统吗?
I am interested in the docke image for IoTgo.
Where can I can the docker file used for building the image?
I have checked on the github folder and its not there
Hear from you soon!
Many thanks!
God blesses!!!
Best regards,
Sanyaade
please any help
Hi @humingchun !
How to use Timer?
Please Guide>..
I have tried but not able to configure time ..
Hi Guys!
I want to load up the IoTgo server on Raspberry Pi.
Can you please guide me to basic requirements on pi?
Any method to do it ..
I am thinking to add up the OS:
http://blog.hypriot.com/post/hypriotos-back-again-with-docker-on-arm/
then pull the docker to pi.
Please guide
Urvish
I am a newer to docker, I meet error like this, would you help me ?
sudo docker pull dockerfile/mongodb
Pulling repository dockerfile/mongodb
Error: image dockerfile/mongodb:latest not found
When we do any change on web portal It will be reflected when that switch is getting synced.
Time is the constraint in this case.
Change refection time becomes to much high sometimes.
ret = sw1.sync()
ret = sw2.sync()
ret = sw3.sync()
ret = sw4.sync()
So is that some cluster arrangement or parallel switch sync that you can suggest.
see I need only for 4 switches. I am connecting 4 switches per board(IoT Node).
Some guidance on this..please
你好,发现这个项目已经有两年没有更新了。我比较喜欢你这个项目,我可以帮助你维护吗?
what version is require
I am trying to execute application on windows by using following command:
node www
However I ma facing following error:
C:\Users\lenovo\Documents\shared with VM\iotgo\IoTgo\node_modules\bcrypt\node_modules\bindings\bindings.js:79
throw e
^
Error: %1 is not a valid Win32 application.
C:\Users\lenovo\Documents\shared with VM\iotgo\IoTgo\node_modules\bcrypt\build\Release\bcrypt_lib.node
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at bindings (C:\Users\lenovo\Documents\shared with VM\iotgo\IoTgo\node_modules\bcrypt\node_modules\bindings\bindings
.js:74:15)
at Object.<anonymous> (C:\Users\lenovo\Documents\shared with VM\iotgo\IoTgo\node_modules\bcrypt\bcrypt.js:3:35)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
I am newbie to MEAN stack. So pardon me if the resolution is too obvious.
test: ubuntu 14.04 x64
IoTgo: master
node:4.4.7
mongo:2.4.9 or 3.2.9
module.exports = {
host: 'yun.widora.io', // Hostname of IoTgo platform
db: {
uri: 'mongodb://localhost/iotgo', // MongoDB database address
options: {
user: 'iotgo', // MongoDB database username
pass: 'iotgo' // MongoDB database password
}
},
jwt: {
secret: 'jwt_secret' // Shared secret to encrypt JSON Web Token
},
admin:{
'[email protected]': '12345678' // Administrator account of IoTgo platform
},
when ./bin/www,I seem connect to db error.
so comment //pass:'iotgo' then connect OK.
but the admin cann't login.
sudo docker pull dockerfile/mongodb
这条命令运行后提示image dockerfile/mongodb not found 是怎么回事。
error: Email address or password is not correct!
my config.js is:
admin:{
'[email protected]': '12345678' // Administrator account of IoTgo platform
},
but cann't login.
the log:
root@iZ285zrpk4eZ:~/IoTgo# DEBUG="iotgo" PORT=3000 ./bin/www
iotgo Express server listening on port 3000 +0ms
iotgo Connect to DB successful! +180ms
GET /login 302 12.267 ms - 70
POST /api/user/login 200 28.361 ms - 53
Can any body help me to create arduino code to connect with iotgo server?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.