Giter VIP home page Giter VIP logo

webthingify's Introduction

Webthingify

Liberapay PayPal

Turn your Android phone into a Web of Things things

Get it on F-Droid

Usage

The app UI offers a text field to choose the port the web thing server will run on and a toggle to start and stop the server.

Supported attributes

  • Vibrate phone
  • Toggle flashlight
  • See pictures from front and back camera
  • Real-time sensor values (brightness, distance, in motion, temperature, pressure, humidity)
  • Phone power (battery level, charging)

Use cases

  • Surveillance camera with small blind spot if device has a front and back camera
  • Weather station (depending on sensors; I'd suggest not giving the camera permission in that case, to lower the load on the device)
  • Daylight sensor (brightness sensor)
  • Door or window opening sensor (not quite implemented nicely yet, but movement or distance properties can be used for it)
  • Power outage detector (charging property)
  • I'm sure the vibration action could be used for something.

How to build

Uh, open it in Android Studio and it'll hopefully just work?

What android versions does this support

It runs on my Nexus 5X (with 8.1) and I haven't been able to make it run properly on my older phone that runs 6.

webthingify's People

Contributors

freaktechnik avatar mrstegeman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webthingify's Issues

Version for older versions of android

As discused in #3, I'd be interrested in getting this application working for much older versions of android.

I think this has a nice potential for reuse of older hardware that can't be updated.

I have a bunch of old phones/tablets that I can help testing. For example one of the oldest devices is a 2.3.7 version of Android. (but also 4.1.1 and 6.0).

I know this is a technical challenge and I'd be happy to have way less features on older versions of the application.

Title

Reply android 9 pie update

Moz Gateway 0.9.1 and webthings

I cloned your app and built it. Installed on a Nexus 6 running carbon rom.
Server on phone (port 8088) runs fine. When I try to find it on the gateway it says paring as failed?

Wil post some logs when I get the gateway back up.. it has lost its settings for add-ons and I need to reset things.

cool project to re-purpose an old android phone -- what capabilities are possible?

cool idea to re-purpose an old android phone!

some ideas for how to take advantage of one as a web thing:
camera: take snapshots or stream video on demand; run ML apps to detect/count people vs animals, measure luminosity
motion: if attached to a door, garage door, window, or other movable object it can trigger upon detected motion
sound: listen for loud alarms (security alarms, smoke or fire alarms)
camera and speaker: use as smart intercom system between two of them

Android 9 / Pie compatibility

Hello,

F-Droid shows Webthingify as incompatible with Android 9.

Do you plan to remove the upward compatibilty ceil?

I'd be glad to be able to play with Mozilla's IOT APIs with my phone sensors! Sounds exciting!

Regards

But how to add it to webthings-gateway?

Hi There,

I have set up webthings-gateway, as per the description on their GitHub page, however, after I enable your app on the phone, on port 8088, the gateway is not able to 'find' it, even if I add the URL with the phone's IP manually. The phone and gateway are on the same sub-net, they can ping each other. Is there anything else special to set up on android, maybe root (already have)? Or a special plugin or add-on needs to be installed on the gateway?

Thank you,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.