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

Phone to work as standalone device (no hub) #687

Closed
guyluz11 opened this issue Oct 21, 2023 · 3 comments · Fixed by #697
Closed

Phone to work as standalone device (no hub) #687

guyluz11 opened this issue Oct 21, 2023 · 3 comments · Fixed by #697
Assignees
Labels
enhancement New feature or request feature request Request to add new feature

Comments

@guyluz11
Copy link
Member

guyluz11 commented Oct 21, 2023

Until now users who wanted to control smart devices had to also use cbj_hub on a Linux computer in the same network.
Having a Linux program that is always present in the home gave us a lot of freedom and reliability without any Android/IOS limitations.

From the other side we found out that some people just want to control smart devices in the same network or to test cbj_app in general to get the feel of it.
So we are currently working (in dev branch) on an option to also control smart devices directly from the app without sending requests to cbj_hub as long as the phone is in the same network (LAN) as the smart devices.

This way the app can be used without the cbj_hub with reduced functionality when the cbj_hub isn't detected in the same network.

More users will be able to try cbj_app with less required starting overhead, just download the app and start to use 😄

@guyluz11 guyluz11 pinned this issue Oct 21, 2023
@guyluz11
Copy link
Member Author

guyluz11 commented Nov 10, 2023

Update:
we have created a new repo cbj_integrations_controller to unify controlling of smart device.
One repo that is used in the hub as well as the app.
This repo has already merged to cbj_app so the first part is complete 😁.
This was a big change and will improve code stability and quality as it is being used and tested in the app and in the Hub.
The second part is to enable the app to control smart devices.

Also during this change we have added another big cbj dependency to the app, cbj_smart_device and his younger brother cbj_smart_device_flutter.
The two repos are in charge of creating smart devices, so we implemented them into the app to make it also a smart device and not just to control devices.
The first feature we have implemented is to make your phone a security camera.

Phone as a security camera:
Using 2 phones to make a security camera and view the video from the second one.
This works using direct communication so you can even use it over hotspots in the middle of nowhere.
No need for router WiFi or cellular network, as long as you are in a hotspot radius you can view your video ✨.
Future plans are to use openCV and implement motion detection with notification that will work locally on the security camera phone.

Here is a GIF to demonstrate the future (no need for the hub) and can already be found in android play store

Media_231110_221348

@guyluz11 guyluz11 linked a pull request Dec 1, 2023 that will close this issue
@guyluz11 guyluz11 self-assigned this Dec 1, 2023
@guyluz11
Copy link
Member Author

guyluz11 commented Dec 1, 2023

Completed this feature, it needs more refinement and support for creating and using scenes for the phone as hub mode.

The app can now find and control devices in your home without a hub (not in the store yet).

Thanks 🎉

@guyluz11 guyluz11 closed this as completed Dec 1, 2023
@guyluz11 guyluz11 added enhancement New feature or request feature request Request to add new feature labels Dec 1, 2023
@guyluz11 guyluz11 changed the title Cool update Phone to work as standalone device (no hub) Dec 1, 2023
@guyluz11
Copy link
Member Author

Phone as a Hub full version got uploaded to the store along with some new UI redesign :D

Thanks

@guyluz11 guyluz11 unpinned this issue Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request Request to add new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant