Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Add support for local mode #38

Merged
5 commits merged into from
Oct 20, 2021
Merged

Add support for local mode #38

5 commits merged into from
Oct 20, 2021

Conversation

tmigone
Copy link
Contributor

@tmigone tmigone commented Oct 8, 2021

Tested in the following scenarios:

  • Local mode with internal HTTP input
  • Regular mode with internal HTTP input

Connects-to: #5
Closes: #22, #37
Change-type: minor
Signed-off-by: Tomás Migone [email protected]

Connects-to: #5
Closes: #22, #37
Change-type: minor
Signed-off-by: Tomás Migone <[email protected]>
Connects-to: #5
Closes: #22, #37
Change-type: minor
Signed-off-by: Tomás Migone <[email protected]>
@ghost
Copy link

ghost commented Oct 8, 2021

Your landr site preview has been successfully deployed to https://landr-balenablocks-repo-connector-preview-38.netlify.app

Deployed with Landr 6.33.0

Change-type: patch
Signed-off-by: Tomás Migone <[email protected]>
Change-type: patch
Signed-off-by: Tomás Migone <[email protected]>
@tmigone tmigone requested a review from phil-d-wilson October 8, 2021 18:15
@tmigone
Copy link
Contributor Author

tmigone commented Oct 8, 2021

Hmmm i built the image and im now trying to test outside of local mode and I get this:

[Logs]    [10/8/2021, 3:42:23 PM] [connector] balenaBlocks connector version: 0.0.5
[Logs]    [10/8/2021, 3:42:23 PM] [connector] Changing hostname to e95ee33
[Logs]    [10/8/2021, 3:42:23 PM] [connector] Generating config
[Logs]    [10/8/2021, 3:42:23 PM] [connector] Traceback (most recent call last):
[Logs]    [10/8/2021, 3:42:23 PM] [connector]   File "./autowire.py", line 4, in <module>
[Logs]    [10/8/2021, 3:42:23 PM] [connector]     from pluginbase import PluginBase
[Logs]    [10/8/2021, 3:42:23 PM] [connector] ModuleNotFoundError: No module named 'pluginbase'

Ring any bells @phil-d-wilson ?

@phil-d-wilson
Copy link
Collaborator

@tmigone I've just run your branch up on a device NOT in local mode, and it works fine.

@tmigone
Copy link
Contributor Author

tmigone commented Oct 19, 2021

@balena-ci rebase

@ghost ghost force-pushed the support-local-mode branch from ce2408b to fe404d9 Compare October 19, 2021 13:11
Copy link
Collaborator

@phil-d-wilson phil-d-wilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and runs up in local and online mode on a Pi3.

Found my MQTT and InfluxDB services fine.

@ghost ghost merged commit 93f00bc into master Oct 20, 2021
@phil-d-wilson phil-d-wilson deleted the support-local-mode branch October 20, 2021 08:28
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panics on a fresh device in local mode
2 participants