Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iotdb-homestar Windows 7 Ultimate Installation Error #4

Open
sanyaade-g2g-repos opened this issue Aug 3, 2015 · 19 comments
Open

iotdb-homestar Windows 7 Ultimate Installation Error #4

sanyaade-g2g-repos opened this issue Aug 3, 2015 · 19 comments

Comments

@sanyaade-g2g-repos
Copy link

Hello Everybody,

Came cross this beautiful kit and try to set it up on Windows 7 but I errors about unmet modules.
Steps:
1.) Installed nodejs v0.10.33
2.) clone the iotdb-homestar git at: https://github.com/dpjanes/iotdb-homestar.git
3.) run-> npm install
then came up with the following errors messages:
Creating library f:\wkdir\Iotdb\iotdb-homestar\node_modules\mows\node_modules\ws\build\Release\validation.lib and object f:\wkdir\Iotdb\iotdb-homestar\node_modules\mows\no
de_modules\ws\build\Release\validation.exp
Generating code
Finished generating code
validation.vcxproj -> f:\wkdir\Iotdb\iotdb-homestar\node_modules\mows\node_modules\ws\build\Release\validation.node
[email protected] node_modules\mows\node_modules\ws
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
npm ERR! peerinvalid The package iotdb does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants iotdb@~0.9.1
npm ERR! peerinvalid Peer [email protected] wants iotdb@~0.9.1
npm ERR! peerinvalid Peer [email protected] wants iotdb@~0.9.1
npm ERR! peerinvalid Peer [email protected] wants iotdb@~0.9.1
npm ERR! peerinvalid Peer [email protected] wants iotdb@~0.9.1
npm ERR! peerinvalid Peer [email protected] wants iotdb@~0.9.1

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "e:\COMPILERS\nodejs\node.exe" "e:\COMPILERS\nodejs\node_modules\npm\bin\npm-cli.js" "update"
npm ERR! cwd f:\wkdir\Iotdb\iotdb-homestar
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! f:\wkdir\Iotdb\iotdb-homestar\npm-debug.log
npm ERR! not ok code 0

Any help will be highly appreciated!

God blesses!!!

Best regards,
Sanyaade

@sanyaade-g2g-repos
Copy link
Author

Hi ......
Forget to add that I modified the package.json and change the iodb to ~0.9.1 to have the iotdb-homestar package built.

Also it is a good thing to have your npm update, run --> npm update -g npm first and make sure you have grunt installed.

Happy hacking!

God blesses!!!

Best regards,
Sanyaade

@dpjanes
Copy link
Owner

dpjanes commented Aug 3, 2015

Can you try "homestar update" and see if that brings all the packages
up-to-date? Sorry for the issues, it's really tricky dealing with the peer
dependencies in NodeJS!

D.

On Tue, Aug 4, 2015 at 12:27 AM, sanyaade-g2g-repos <
[email protected]> wrote:

Hi ......
Forget to add that I modified the package.json and change the iodb to
~0.9.1 to have the iotdb-homestar package built.

Also it is a good thing to have your npm update, run --> npm update -g npm
first and make sure you have grunt installed.

Happy hacking!

God blesses!!!

Best regards,
Sanyaade


Reply to this email directly or view it on GitHub
#4 (comment)
.

@sanyaade-g2g-repos
Copy link
Author

Hi dpjanes,

I managed to get homestar running on Ubuntu 15.04 but when the homestar was launced (homestar runner), it loads the webpage with home and things menu. Clicking on either of the menu link generate a pop-up error messages (please see attached images below:).

I found that the cookbooks and things folders were empty. I have followed tutorials on the github but still unable to populate the two folders. What am I doing wrong? Please help!

I have added the port 11802 to my firewall and opened it up

God blesses!!!

Best regards,
Sanyaade

iotdb-homestar-error-message-1

iotdb-homestar-error-message-2

@dpjanes
Copy link
Owner

dpjanes commented Aug 5, 2015

That message seems to say that "homestar runner" has quit - is there an
error on the command line?

D.

On Wed, Aug 5, 2015 at 12:28 PM, sanyaade-g2g-repos <
[email protected]> wrote:

Hi dpjanes,

I managed to get homestar running on Ubuntu 15.04 but when the homestar
was launced (homestar runner), it loads the webpage with home and things
menu. Clicking on either of the menu link generate a pop-up error messages
(please see attached images below:).

I found that the cookbooks and things folders were empty. I have followed
tutorials on the github but still unable to populate the two folders. What
am I doing wrong? Please help!

I have added the port 11802 to my firewall and opened it up

God blesses!!!

Best regards,
Sanyaade

[image: iotdb-homestar-error-message-1]
https://cloud.githubusercontent.com/assets/13303343/9077058/aa2c52f2-3b21-11e5-8cd2-dd17432a59cc.png

[image: iotdb-homestar-error-message-2]
https://cloud.githubusercontent.com/assets/13303343/9077060/b2efc9b4-3b21-11e5-8327-b12920bea80c.png


Reply to this email directly or view it on GitHub
#4 (comment)
.

@sanyaade-g2g-repos
Copy link
Author

Homestar is still running and never shut down. I can click on the menus several times, refresh the page as well but the link generate those errors.

Attached below is the screen shot of the command line

God blesses!!!

Best regards,
Sanyaade

screenshot from 2015-08-05 03 45 41

@dpjanes
Copy link
Owner

dpjanes commented Aug 5, 2015

How did you get educateiot.com in the address bar? It definitely wants to
communicate exactly on a particular IP address - which will be listed when
it starts up as one of the first few log items.

It also wants to communicate on these ports

11800 - mqtt
11801 - mqtt web sockets
11802 - HTTP

see if you can telnet to all of these ports (e.g. telnet 80.229.90.212:18001)
and get a connection.

I'm also running it up here on a Ubuntu instance.

D.

On Wed, Aug 5, 2015 at 12:50 PM, sanyaade-g2g-repos <
[email protected]> wrote:

Homestar is still running and never shut down. I can click on the menus
several times, refresh the page as well but the link generate those errors.

Attached below is the screen shot of the command line

God blesses!!!

Best regards,
Sanyaade

[image: screenshot from 2015-08-05 03 45 41]
https://cloud.githubusercontent.com/assets/13303343/9077345/ecbbb04c-3b24-11e5-837b-4bd5b7341d0e.png


Reply to this email directly or view it on GitHub
#4 (comment)
.

@sanyaade-g2g-repos
Copy link
Author

@dpjanes

educateiot.com is the domain name for the IP address: 80.229.90.212

I have checked all the ports and they are all ok. I even reload homstar --> homestar runner | homestar pretty the stdin out were checked to see that mqtt started on the 11800 port, port 11801 socket running.

I think I will remove and re-install homestar again to see if it can solved.

God blesses!!!

Best regards,
Sanyaade

@dpjanes
Copy link
Owner

dpjanes commented Aug 5, 2015

I'm not sure if that will help.

Just to make sure we're on the same page: the bug we're working on is the
"Not Connected" error, correct?

D

On Wed, Aug 5, 2015 at 2:07 PM, sanyaade-g2g-repos <[email protected]

wrote:

@dpjanes https://github.com/dpjanes

educateiot.com is the domain name for the IP address: 80.229.90.212

I have checked all the ports and they are all ok. I even reload homstar
--> homestar runner | homestar pretty the stdin out were checked to see
that mqtt started on the 11800 port, port 11801 socket running.
I think I will remove and re-install homestar again to see if it can
solved.

God blesses!!!

Best regards,
Sanyaade


Reply to this email directly or view it on GitHub
#4 (comment)
.

@dpjanes
Copy link
Owner

dpjanes commented Aug 5, 2015

I just pushed a new version of "homestar" that will do the right thing when
you type "homestar update", e.g. update iotdb and other deep
co-dependencies in node_modules.

On Wed, Aug 5, 2015 at 2:14 PM, David Janes [email protected]
wrote:

I'm not sure if that will help.

Just to make sure we're on the same page: the bug we're working on is the
"Not Connected" error, correct?

D

On Wed, Aug 5, 2015 at 2:07 PM, sanyaade-g2g-repos <
[email protected]> wrote:

@dpjanes https://github.com/dpjanes

educateiot.com is the domain name for the IP address: 80.229.90.212

I have checked all the ports and they are all ok. I even reload homstar
--> homestar runner | homestar pretty the stdin out were checked to see
that mqtt started on the 11800 port, port 11801 socket running.
I think I will remove and re-install homestar again to see if it can
solved.

God blesses!!!

Best regards,
Sanyaade


Reply to this email directly or view it on GitHub
#4 (comment)
.

@sanyaade-g2g-repos
Copy link
Author

@dpjanes

Many thanks for the update. I will check the new version out and give it a try now
I will report back to you today!

God blesses!!!

Best regards,
Sanyaade

@sanyaade-g2g-repos
Copy link
Author

Good day dpjanes,

I dii a fresh installation last night but the result is still same, nothing positive coming.

I am going to try my Centos 7.0 installtion today, finger cross.

God blesses!!!

Best regards,
Sanyaade

@dpjanes
Copy link
Owner

dpjanes commented Aug 6, 2015

Just to confirm - you get "Not Connected" message?

D.

On Thu, Aug 6, 2015 at 6:38 PM, sanyaade-g2g-repos <[email protected]

wrote:

Good day dpjanes,

I dii a fresh installation last night but the result is still same,
nothing positive coming.

I am going to try my Centos 7.0 installtion today, finger cross.

God blesses!!!

Best regards,
Sanyaade


Reply to this email directly or view it on GitHub
#4 (comment)
.

@sanyaade-g2g-repos
Copy link
Author

@dpjanes

Yes! Same error message --> Connection error

@sanyaade-g2g-repos
Copy link
Author

@dpjanes,

I installed homestar on my Centos7 box just now, open up its ports.
The pretty printer output the following with some errors the may help point to some of then problems:

Some errors about homestar.io keys:

[sanyaade@sanyaade site26]$ homestar runner | homestar pretty
[2015-08-06T10:06:30.870Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: loading recipes (module=app/recipe, method=_load_recipes, cookbooks_path=cookbooks)
[2015-08-06T10:06:30.889Z] ERROR: iotdb-homestar/24242 on sanyaade.plus.com: HomeStar.io API keys not added - you should do this (module=app/settings, method=setup, cause="HomeStar.io API keys not added", fix="get a keys from https://homestar.io/runners/")
[2015-08-06T10:06:30.935Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: HomeStar.io is not configured (module=app/app, key=missing, secret=missing, url=ok)
body-parser deprecated bodyParser: use individual json/urlencoded middlewares node_modules/homestar/app/app.js:132:13
body-parser deprecated undefined extended: provide extended option node_modules/homestar/node_modules/body-parser/index.js:105:29
[2015-08-06T10:06:31.311Z] ERROR: iotdb/24242 on sanyaade.plus.com: unexpected exception loading module (module=modules, method=_load, module_name=homestar-gpio, module_folder=/var/www/html/site26/node_modules/homestar-gpio)
cause: likely the module being imported is not set up correctly
--
exception: {
"code": "MODULE_NOT_FOUND"
}
[2015-08-06T10:06:31.331Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: setting up MQTT server (module=app/mqtt, method=main)
paramd: {
"local": true,
"verbose": true,
"prefix": "/runners/9557ed9f-6b75-4ed7-813e-fd8f9ce825e3/",
"host": null,
"port": 11800,
"websocket": 11801
}
createServer() is deprecated, use http://npm.im/mqtt-connection or MqttServer instead
[2015-08-06T10:06:31.334Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: listening for MQTT (module=app/mqtt, method=create_server, port=11800, host=80.229.90.210)
[2015-08-06T10:06:31.343Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: listening for WS-MQTT (module=app/mqtt, method=create_server, websocket=11801, host=80.229.90.210)
[2015-08-06T10:06:31.346Z] ERROR: iotdb-homestar/24242 on sanyaade.plus.com: there is no owner defined (module=app/users, cause="likely you have not get keys from HomeStar.io yet")
[2015-08-06T10:06:31.347Z] INFO: iotdb/24242 on sanyaade.plus.com: called (module=things, method=connect)
createClient is deprecated, use connect instead
createClient is deprecated, use connect instead
[2015-08-06T10:06:31.383Z] ERROR: iotdb-homestar/24242 on sanyaade.plus.com: no HomeStar ping service (module=app/homestar, method=setup, cause="no bearer token")
[2015-08-06T10:06:31.385Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: profile (module=app/app)
profile: {
"pid": 24242,
"ip": "80.229.90.210",
"cwd": "/var/www/html/site26",
"webserver": {
"scheme": "http",
"host": "80.229.90.210",
"port": 11802
},
"mqttd": {
"host": "80.229.90.210",
"port": 11800,
"websocket": 11801
},
"controller": {
"iot:controller.session-timestamp": "2015-08-06T10:06:29.226Z",
"iot:controller.machine-id": "2100c026-3c6f-4464-b5c1-8dc2d4b62ceb"
}
}
[2015-08-06T10:06:31.392Z] INFO: iotdb/24242 on sanyaade.plus.com: called (module=things, method=_discover_binding, modeld={})
binding: {
"matchd": {
"iot:vendor.type": "urn:Belkin:device:controllee:1",
"iot:vendor.model": "Socket"
},
"connectd": {
"subscribes": [
"urn:Belkin:service:basicevent:1"
]
},
"model_code": "we-mo-socket"
}
[2015-08-06T10:06:31.393Z] INFO: iotdb/24242 on sanyaade.plus.com: called (module=things, method=_discover_binding, modeld={})
binding: {
"matchd": {
"iot:vendor.type": "urn:Belkin:device:sensor:1"
},
"connectd": {
"subscribes": [
"urn:Belkin:service:basicevent:1"
]
},
"model_code": "we-mo-motion"
}
[2015-08-06T10:06:31.395Z] INFO: iotdb/24242 on sanyaade.plus.com: called (module=things, method=_discover_binding, modeld={})
binding: {
"matchd": {
"iot:vendor.type": "urn:Belkin:device:insight:1",
"iot:vendor.model": "Insight"
},
"connectd": {
"subscribes": [
"urn:Belkin:service:basicevent:1"
]
},
"model_code": "we-mo-insight"
}
[2015-08-06T10:06:31.395Z] INFO: iotdb/24242 on sanyaade.plus.com: called (module=things, method=_discover_binding, modeld={})
binding: {
"matchd": {
"iot:vendor.type": "urn:Belkin:device:crockpot:1"
},
"connectd": {
"subscribes": [
"urn:Belkin:service:basicevent:1"
]
},
"model_code": "we-mo-crockpot"
}
[2015-08-06T10:06:31.396Z] INFO: iotdb/24242 on sanyaade.plus.com: called (module=things, method=_discover_binding, modeld={})
binding: {
"matchd": {
"iot:vendor.type": "urn:Belkin:device:lightswitch:1"
},
"connectd": {
"subscribes": [
"urn:Belkin:service:basicevent:1"
]
},
"model_code": "we-mo-light-switch"
}
[2015-08-06T10:06:31.400Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: listening for connect (module=app/app, method=main, url=http://80.229.90.210:11802)
[2015-08-06T10:06:31.415Z] INFO: iotdb-upnp/24242 on sanyaade.plus.com: made UpnpControlPoint (module=upnp, method=cp)
[2015-08-06T10:06:31.447Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client)
[2015-08-06T10:06:31.452Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client)
[2015-08-06T10:06:31.461Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client/on(connect), topic=null, payload=null)
[2015-08-06T10:06:31.466Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client/on(connect), topic=null, payload=null)
[2015-08-06T10:06:34.283Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/app, method=make_dynamic/(page), mount="")
template: /var/www/html/site26/node_modules/homestar/dynamic/index.html
[2015-08-06T10:06:34.408Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/app, method=make_dynamic/(page), mount=cookbooks.js)
template: /var/www/html/site26/node_modules/homestar/dynamic/cookbooks.js
[2015-08-06T10:06:35.227Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client)
[2015-08-06T10:06:35.242Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client/on(connect))
[2015-08-06T10:06:35.256Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client/on(subscribe))
[2015-08-06T10:06:40.170Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/app, method=make_dynamic/(page), mount=things)
template: /var/www/html/site26/node_modules/homestar/dynamic/things.html
[2015-08-06T10:06:40.225Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client/on(close))
[2015-08-06T10:06:40.239Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/app, method=make_dynamic/(page), mount=things.js)
template: /var/www/html/site26/node_modules/homestar/dynamic/things.js
[2015-08-06T10:06:40.775Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client)
[2015-08-06T10:06:40.790Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client/on(connect))
[2015-08-06T10:06:40.796Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client/on(subscribe))
[2015-08-06T10:06:43.272Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/app, method=make_dynamic/(page), mount="")
template: /var/www/html/site26/node_modules/homestar/dynamic/index.html
[2015-08-06T10:06:43.311Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client/on(close))
[2015-08-06T10:06:43.333Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/app, method=make_dynamic/(page), mount=cookbooks.js)
template: /var/www/html/site26/node_modules/homestar/dynamic/cookbooks.js
[2015-08-06T10:06:43.803Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client)
[2015-08-06T10:06:43.815Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client/on(connect))
[2015-08-06T10:06:43.822Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com: called (module=app/mqtt, method=server_client/on(subscribe))

Some errors about homestar.io keys

God blesses!!!

Best regards,
Sanyaade

@dpjanes
Copy link
Owner

dpjanes commented Aug 6, 2015

Are there any errors on the Javascript console, in the browser?

It's OK that you don't have API keys (though they're very useful and I
would do that).

Do a "homestar update" when you get the chance - there may be a bug related
to having no recipes

I've attached a recipe (put it in ./cookbooks)

D.

On Thu, Aug 6, 2015 at 8:18 PM, sanyaade-g2g-repos <[email protected]

wrote:

@dpjanes https://github.com/dpjanes,

I installed homestar on my Centos7 box just now, open up its ports.
The pretty printer output the following with some errors the may help
point to some of then problems:

Some errors about homestar.io keys:

[sanyaade@sanyaade site26]$ homestar runner | homestar pretty
[2015-08-06T10:06:30.870Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
loading recipes (module=app/recipe, method=_load_recipes,
cookbooks_path=cookbooks)
[2015-08-06T10:06:30.889Z] ERROR: iotdb-homestar/24242 on
sanyaade.plus.com: HomeStar.io API keys not added - you should do this
(module=app/settings, method=setup, cause="HomeStar.io API keys not added",
fix="get a keys from https://homestar.io/runners/")
[2015-08-06T10:06:30.935Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
HomeStar.io is not configured (module=app/app, key=missing, secret=missing,
url=ok)
body-parser deprecated bodyParser: use individual json/urlencoded
middlewares node_modules/homestar/app/app.js:132:13
body-parser deprecated undefined extended: provide extended option
node_modules/homestar/node_modules/body-parser/index.js:105:29
[2015-08-06T10:06:31.311Z] ERROR: iotdb/24242 on sanyaade.plus.com:
unexpected exception loading module (module=modules, method=_load,
module_name=homestar-gpio,
module_folder=/var/www/html/site26/node_modules/homestar-gpio)

cause: likely the module being imported is not set up correctly

exception: {
"code": "MODULE_NOT_FOUND"
}
[2015-08-06T10:06:31.331Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
setting up MQTT server (module=app/mqtt, method=main)
paramd: {
"local": true,
"verbose": true,
"prefix": "/runners/9557ed9f-6b75-4ed7-813e-fd8f9ce825e3/",
"host": null,
"port": 11800,
"websocket": 11801
}
createServer() is deprecated, use http://npm.im/mqtt-connection or
MqttServer instead
[2015-08-06T10:06:31.334Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
listening for MQTT (module=app/mqtt, method=create_server, port=11800,
host=80.229.90.210)
[2015-08-06T10:06:31.343Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
listening for WS-MQTT (module=app/mqtt, method=create_server,
websocket=11801, host=80.229.90.210)
[2015-08-06T10:06:31.346Z] ERROR: iotdb-homestar/24242 on
sanyaade.plus.com: there is no owner defined (module=app/users,
cause="likely you have not get keys from HomeStar.io yet")
[2015-08-06T10:06:31.347Z] INFO: iotdb/24242 on sanyaade.plus.com: called
(module=things, method=connect)
createClient is deprecated, use connect instead
createClient is deprecated, use connect instead
[2015-08-06T10:06:31.383Z] ERROR: iotdb-homestar/24242 on
sanyaade.plus.com: no HomeStar ping service (module=app/homestar,
method=setup, cause="no bearer token")
[2015-08-06T10:06:31.385Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
profile (module=app/app)
profile: {
"pid": 24242,
"ip": "80.229.90.210",
"cwd": "/var/www/html/site26",
"webserver": {
"scheme": "http",
"host": "80.229.90.210",
"port": 11802
},
"mqttd": {
"host": "80.229.90.210",
"port": 11800,
"websocket": 11801
},
"controller": {
"iot:controller.session-timestamp": "2015-08-06T10:06:29.226Z",
"iot:controller.machine-id": "2100c026-3c6f-4464-b5c1-8dc2d4b62ceb"
}
}
[2015-08-06T10:06:31.392Z] INFO: iotdb/24242 on sanyaade.plus.com: called
(module=things, method=_discover_binding, modeld={})
binding: {
"matchd": {
"iot:vendor.type": "urn:Belkin:device:controllee:1",
"iot:vendor.model": "Socket"
},
"connectd": {
"subscribes": [
"urn:Belkin:service:basicevent:1"
]
},
"model_code": "we-mo-socket"
}
[2015-08-06T10:06:31.393Z] INFO: iotdb/24242 on sanyaade.plus.com: called
(module=things, method=_discover_binding, modeld={})
binding: {
"matchd": {
"iot:vendor.type": "urn:Belkin:device:sensor:1"
},
"connectd": {
"subscribes": [
"urn:Belkin:service:basicevent:1"
]
},
"model_code": "we-mo-motion"
}
[2015-08-06T10:06:31.395Z] INFO: iotdb/24242 on sanyaade.plus.com: called
(module=things, method=_discover_binding, modeld={})
binding: {
"matchd": {
"iot:vendor.type": "urn:Belkin:device:insight:1",
"iot:vendor.model": "Insight"
},
"connectd": {
"subscribes": [
"urn:Belkin:service:basicevent:1"
]
},
"model_code": "we-mo-insight"
}
[2015-08-06T10:06:31.395Z] INFO: iotdb/24242 on sanyaade.plus.com: called
(module=things, method=_discover_binding, modeld={})
binding: {
"matchd": {
"iot:vendor.type": "urn:Belkin:device:crockpot:1"
},
"connectd": {
"subscribes": [
"urn:Belkin:service:basicevent:1"
]
},
"model_code": "we-mo-crockpot"
}
[2015-08-06T10:06:31.396Z] INFO: iotdb/24242 on sanyaade.plus.com: called
(module=things, method=_discover_binding, modeld={})
binding: {
"matchd": {
"iot:vendor.type": "urn:Belkin:device:lightswitch:1"
},
"connectd": {
"subscribes": [
"urn:Belkin:service:basicevent:1"
]
},
"model_code": "we-mo-light-switch"
}
[2015-08-06T10:06:31.400Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
listening for connect (module=app/app, method=main, url=
http://80.229.90.210:11802)
[2015-08-06T10:06:31.415Z] INFO: iotdb-upnp/24242 on sanyaade.plus.com:
made UpnpControlPoint (module=upnp, method=cp)
[2015-08-06T10:06:31.447Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client)
[2015-08-06T10:06:31.452Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client)
[2015-08-06T10:06:31.461Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client/on(connect), topic=null,
payload=null)
[2015-08-06T10:06:31.466Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client/on(connect), topic=null,
payload=null)
[2015-08-06T10:06:34.283Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/app, method=make_dynamic/(page), mount="")
template: /var/www/html/site26/node_modules/homestar/dynamic/index.html
[2015-08-06T10:06:34.408Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/app, method=make_dynamic/(page), mount=cookbooks.js)
template: /var/www/html/site26/node_modules/homestar/dynamic/cookbooks.js
[2015-08-06T10:06:35.227Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client)
[2015-08-06T10:06:35.242Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client/on(connect))
[2015-08-06T10:06:35.256Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client/on(subscribe))
[2015-08-06T10:06:40.170Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/app, method=make_dynamic/(page), mount=things)
template: /var/www/html/site26/node_modules/homestar/dynamic/things.html
[2015-08-06T10:06:40.225Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client/on(close))
[2015-08-06T10:06:40.239Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/app, method=make_dynamic/(page), mount=things.js)
template: /var/www/html/site26/node_modules/homestar/dynamic/things.js
[2015-08-06T10:06:40.775Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client)
[2015-08-06T10:06:40.790Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client/on(connect))
[2015-08-06T10:06:40.796Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client/on(subscribe))
[2015-08-06T10:06:43.272Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/app, method=make_dynamic/(page), mount="")
template: /var/www/html/site26/node_modules/homestar/dynamic/index.html
[2015-08-06T10:06:43.311Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client/on(close))
[2015-08-06T10:06:43.333Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/app, method=make_dynamic/(page), mount=cookbooks.js)
template: /var/www/html/site26/node_modules/homestar/dynamic/cookbooks.js
[2015-08-06T10:06:43.803Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client)
[2015-08-06T10:06:43.815Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client/on(connect))
[2015-08-06T10:06:43.822Z] INFO: iotdb-homestar/24242 on sanyaade.plus.com:
called (module=app/mqtt, method=server_client/on(subscribe))

Some errors about homestar.io keys

God blesses!!!

Best regards,
Sanyaade


Reply to this email directly or view it on GitHub
#4 (comment)
.

@sanyaade-g2g-repos
Copy link
Author

@dpjanes,

Sorry for getting back late. I have been at a hackathon for 2 days on docker and RLSB App.

Answering your querry:
1.) There are no errors from my Firefox browser:- Result shwon below:
"+ /auth/mqtt-token" "success" "anon-00de581f-31a8-4875-8510-4a7773da18ec" index.js:89:21
"- js.mqtt.init" "calling websocket connect" "80.229.90.212" 11801 index.js:115:1
"- js.mqtt.onConnect" "/runners/037bd587-2d53-4375-bce8-0ca093980167/api/#" index.js:144:13

2.) Ok! I will be looking forward for the inclusion of the API keys. many thanks!

3.) Done I have just stop it running, do a "homestar update" next do "homestar runner | homestar pretty"
Result: runs with some errors in the console about cookbooks and things. See attached image below:

4.) I've attached a recipe (put it in ./cookbooks)
There is no attachment. I think you forgot to attach the file. I will be waiting for it. Many thanks!

screenshot from 2015-08-09 12 59 58

@dpjanes
Copy link
Owner

dpjanes commented Aug 10, 2015

See the bottom of this page for adding your API keys
https://homestar.io/about/install

There's something really weird that your session store is corrupted. If
there's a folder called ".iotdb/sessions", can you delete it.

I did attach a recipe but GitHub I guess doesn't like email attachments. I
made a Gist:
https://gist.github.com/dpjanes/b9cd54d63284325c2d41

D.

On Sun, Aug 9, 2015 at 10:03 PM, sanyaade-g2g-repos <
[email protected]> wrote:

@dpjanes https://github.com/dpjanes,

Sorry for getting back late. I have been at a hackathon for 2 days on
docker and RLSB App.

Answering your querry:
1.) There are no errors from my Firefox browser:- Result shwon below:
"+ /auth/mqtt-token" "success" "anon-00de581f-31a8-4875-8510-4a7773da18ec"
index.js:89:21
"- js.mqtt.init" "calling websocket connect" "80.229.90.212" 11801
index.js:115:1
"- js.mqtt.onConnect"
"/runners/037bd587-2d53-4375-bce8-0ca093980167/api/#" index.js:144:13

2.) Ok! I will be looking forward for the inclusion of the API keys. many
thanks!

3.) Done I have just stop it running, do a "homestar update" next do
"homestar runner | homestar pretty"
Result: runs with some errors in the console see attached image below:

4.) I've attached a recipe (put it in ./cookbooks)

There is no attachment. I think you forgot to attach the file. I will be
waiting for it. Many thanks!

[image: screenshot from 2015-08-09 12 59 58]
https://cloud.githubusercontent.com/assets/13303343/9154738/f064f896-3e96-11e5-973e-ba79c96eb805.png


Reply to this email directly or view it on GitHub
#4 (comment)
.

@sanyaade-g2g-repos
Copy link
Author

@dpjanes,

Many thanks! I will give a try this week and report back on the outcome.

Once again, many thanks!

God blesses!!!

Best regards,
Sanyaade

@dpjanes
Copy link
Owner

dpjanes commented Oct 6, 2015

If it's good, close please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants