Giter Site home page Giter Site logo

morpheus-serial's Introduction

Morpheus-block

Morpheus adds the deep sleep capability to your Raspberry Pi project using a microcontroller to control your single-board computer power supply.

Example docker-compose.yml

services:
  morpheus-serial:
    image: bh.cr/g_aurelien_valade/morpheus-serial
    cap_add:
      - NET_ADMIN
      - SYS_ADMIN
      - SYS_RAWIO
    labels:
      io.balena.features.supervisor-api: '1'
      io.balena.features.balena-api: '1'
      io.balena.features.sysfs: '1'
      io.balena.features.kernel-modules: '1'
    privileged: true
    environment:
      - "SERIAL_PORT=/dev/ttyACM0"
    devices:
      - "/dev/ttyACM0:/dev/ttyACM0"
    ports:
      - "5555":"5555"

morpheus-serial's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

morpheus-serial's Issues

Service errors

After initial power up, my Pi did retrieve and display a new quote, and then powered off. However, the wake button does not seem to work and I'm seeing the following errors:

 inkyshot  ### Requesting Time Sleep
 inkyshot    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
 inkyshot                                   Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: morpheus-serial
 inkyshot  ERROR: Failed during request to http://morpheus-serial:5555/sleep_time/60/1800
Shutting down
Restarting service 'morpheus-serial sha256:f1216da778c79710563905294a3036f5baa375373d3e7b5edbfd73a381b7692f'
 morpheus-serial  standard_init_linux.go:219: exec user process caused: exec format error
Service exited 'morpheus-serial sha256:f1216da778c79710563905294a3036f5baa375373d3e7b5edbfd73a381b7692f'

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.