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

Testing EspruinoHub #84

Open
gcgarner opened this issue Nov 19, 2019 · 6 comments
Open

Testing EspruinoHub #84

gcgarner opened this issue Nov 19, 2019 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@gcgarner
Copy link
Owner

Thread for issues of espruinohub

@gcgarner gcgarner added the help wanted Extra attention is needed label Nov 19, 2019
@sebi5361
Copy link

sebi5361 commented Nov 20, 2019

I have just installed the container with EspruinoHub and it works!
I am able to read BLE signals as MQTT objects ans vice versa, emit BLE signals from MQTT objects.

However I have noticed some elements:

  • EspruinoHub in the container might be an older version than the one when doing a native installation, as its interface is different when looking at IP:1888. Could it be updated?
  • According to the container log, $TERM is not defined. Shouldn't it be added to the ENV variables to avoid such a message?
  • The container network is set to host rather than iotstack_default together with publishing port 1888. Wouldn't those settings be better for consistency with the other containers?

@sebi5361
Copy link

I have noticed that the version of EspruinoHub in the container is really not that stable and loses many connections to BLE devices compared to the latest version when doing a native install.

@gcgarner
Copy link
Owner Author

Thanks for the feedback, are you running the native and the docker version at the same time?

@gcgarner
Copy link
Owner Author

The host grants additional rights over just the network port, it seems to allow access to the bluetooth as well. I would rather not have the container operate at host level but that is the recommendations by the creator.

@gcgarner
Copy link
Owner Author

I had a look at the image and it was updated last 2 years ago

there is an alternative on docker hub hat is 2 months old, will have a look at that one radhus/espruinohub

@sebi5361
Copy link

Thanks for the feedback, are you running the native and the docker version at the same time?

No, I uninstalled the latest native version to try the docker container from the stack. Thus I have a good comparison standpoint.
Indeed the two month old radhus version might be a better pick.
I didn't know about host level granting bluetooth access, interesting...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants