Code Monkey home page Code Monkey logo

zerobot's People

Contributors

coretechr 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zerobot's Issues

Touch control does not work, only mouse clicks are accepted

The web UI works on a computer but does not do anything on a mobile or tablet or even touchscreen computer. I guess this is due to document.createTouch being deprecated and removed from most browsers.

Changing condition on line 215 to touchable = 'ontouchstart' in window, fixes the issue partially for Android phones, however 2in1 devices still don't react to touches. Commenting out the whole if (touchable) { … } else {…}, leaving both branches in place seems to be working properly for me.

Camera feed not shown from remote connection

Since the IP address of the camera feed is hardcoded in the Touch.html file, it does not work if accessed from an external network. The IP should change dynamically to reflect the server's IP regardless from where it is accessed.

I have been able to solve this by replacing this line:

<img src="http://192.168.1.10:9000/?action=stream" />

with this short script:

<p id="demo"></p>

<script>
host = window.location.hostname;
img = '<img src="http://' + host + ':9000/?action=stream" />';
document.getElementById("demo").innerHTML = img;
</script>

Question, feature request for API integration

I realize there hasnt been a commit on this in two years but I had a thought of integrating this into home assistant/frigate/deepstack.

Putting an RTMP stream into frigate would can the camera for targeted objects, or, if a targeted object is found at another location, send the bot to that location while recording to frigate.

I was thinking rather than using a GPS module which would make it a lot more complex, savings "paths" or routines into a script in home assistant that can be sent to the bot via restful api if a camera in another room detected something. Or just program a "patrol" of the house and save the video to home assistant gallery for viewing.

I'm waiting on the rest of my parts to arrive, and while I'm not a crack programmer I think this is something worth looking into. Once I get going can I make a PR?

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.