Coder Social home page Coder Social logo

dabman-api's People

Contributors

tabacha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

noodled

dabman-api's Issues

401 Unauthorized

Hi there,

thank you for your documentation, I would like to take a closer look into it, but I only get 401 Unauthorized on every endpoint.
Unfortunally I did not find any information on how to get a session. Also the Frontier Silicon Radio way of login does not work (fsapi/CREATE_SESSION?pin= with standard 1234 as PIN) according to https://www.openhab.org/addons/bindings/frontiersiliconradio1/

Playinfo

Playinfo responds "Unknown CMD", until you initialize the session, once:

/init?language=de
will give you the following:

<?xml version="1.0" encoding="UTF-8"?>
<result>
    <id>1</id>
    <version>j92420190924h</version>
    <lang>de</lang>
    <wifi_set_url>http://LOCALIP/scan_wifi</wifi_set_url>
    <ptver>20170921</ptver>
    <hotkey_fav>1</hotkey_fav>
    <push_talk>1</push_talk>
    <leave_msg>1</leave_msg>
    <leave_msg_ios>1</leave_msg_ios>
    <M7_SUPPORT>0</M7_SUPPORT>
    <SMS_SUPPORT>0</SMS_SUPPORT>
    <MKEY_SUPPORT>1</MKEY_SUPPORT>
    <UART_CD>0</UART_CD>
    <ALEXA>0</ALEXA>
    <PlayMode>3</PlayMode>
    <MaxVol>30</MaxVol>
    <SP_Play>0</SP_Play>
    <cur_play_menu_id>75</cur_play_menu_id>
    <cur_play_name>RADIO BOB! NRW</cur_play_name>
    <SWUpdate>NO</SWUpdate>
</result>

From then on, you can request playinfo (if any player is active).
Sometimes you will be redirected to the main menu, which might gives you a "FAIL". Just select the station or your favorite again.

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.