Code Monkey home page Code Monkey logo

diwoom's People

Contributors

iebb avatar remie92 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

Forkers

jhdscript remie92

diwoom's Issues

How to use the HTTP server

Hi,

First thanks for your project, I'm glad to say I downloaded it and it worked right away ๐Ÿ‘

My device is discovered and I am able to play with my Pixoo-Max with your app ๐Ÿ˜„

I started the HTTP server on the UI and now I'm wondering how to discuss with your app, I tried to use curl but none of these worked :

# Diwoom.exe log : nothing
curl -X POST --data "4501 00cc00 ff 00 01 000000" http://127.0.0.1:10119
curl -X POST -H "Content-Type: text/plain" --data "4501 00cc00 ff 00 01 000000" http://127.0.0.1:10119

# Diwoom.exe log : cmd could not be parsed
curl -X POST --data "4501 00cc00 ff 00 01 000000" http://127.0.0.1:10119/cmd
curl -X POST -H "Content-Type: text/plain" --data "4501 00cc00 ff 00 01 000000" http://127.0.0.1:10119/cmd 

# Diwoom.exe log : nothing
curl -X POST --data "4501 00cc00 ff 00 01 000000" http://127.0.0.1:10119/raw
curl -X POST -H "Content-Type: text/plain" --data "4501 00cc00 ff 00 01 000000" http://127.0.0.1:10119/raw

Here I try to send this Lightning command 4501 00cc00 ff 00 01 000000 according to the doc you linked :

  • 4501 : Fixed String
  • 00cc00 : Color encoded in Hexadecimal (green here)
  • ff : Brightness (0 - 100) in Hexadecimal
  • 00 : Type of Lightning (Plain color here)
  • 01 : Power should usually be 01
  • 000000 : Fixed String

In any case the HTTP server respond A ๐Ÿ˜ข

Do you have suggestions ?

Thanks

can't discover device

Any hint on how to discover the device? I have connected a bluetooth 5.0 adapter to the pc but after some scan no device is found.
Debugging into the BlueClient _client.DiscoverDevices() is returning an empty list

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.