naimco


Namenaimco JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/blitzkopf/NaimCo
SummaryPackage to control Naim Mu-so sound systems
upload_time2024-08-22 15:20:47
maintainerNone
docs_urlNone
authorYngvi Þór Sigurjónsson
requires_python<4.0,>=3.11
licenseMIT
keywords naim mu-so homeassistant
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
NaimCo
======
NaimCo (NaimController) is package to control Naim Mu-so sound systems.

The main purpose of this package integration with Home Assistant.

Nothing much to see for the moment but you can turn on the radio to preset #2:
::

  $ naim_control 192.168.1.183 --preset 2 --volume 10

  usage: naim_control.py [-h] [-i {IRADIO,DIGITAL1,SPOTIFY,USB,UPNP,TIDAL,FRONT} | -p PRESET | -o] [-v VOLUME] address

  Turn on Radio on naim Mu-so

  positional arguments:
    address               ip address of Mu-so

  options:
    -h, --help            show this help message and exit
    -i {IRADIO,DIGITAL1,SPOTIFY,USB,UPNP,TIDAL,FRONT}, --input {IRADIO,DIGITAL1,SPOTIFY,USB,UPNP,TIDAL,FRONT}
                          Select input
    -p PRESET, --preset PRESET
                          Preset [1-40]
    -o, --off             Turn receiver off
    -v VOLUME, --volume VOLUME
                          Volume [0-100]

Motivation
----------

Naim Mu-so implements DLNA to some extent and it is possible to control it in home automation systems.
Basic stuff like volume up down and play some media works.

But there are functions that as far as I can tell can't be controlled with upnp/DLNA such as:

- On/Off ( Standby off or standby on í Naim terms )
- Input selection
    - iRadio
    - Digital
    - Analog


Naim does not publish an API for the Mu-so, but there is an App. So after 5 years of waiting for someone else to figure it out I decided to have a look at how it communicates with my Mu-so.

Communication
-------------

Some information found here: `Sniffing <api_sniffing/sniffing.rst>`_


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/blitzkopf/NaimCo",
    "name": "naimco",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": "naim, mu-so, homeassistant",
    "author": "Yngvi \u00de\u00f3r Sigurj\u00f3nsson",
    "author_email": "blitzkopf@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b8/15/576a848761b43583622a89297aba41ab2ccc9bdc75e45a08f57f20b9c20e/naimco-0.1.2.tar.gz",
    "platform": null,
    "description": "\nNaimCo\n======\nNaimCo (NaimController) is package to control Naim Mu-so sound systems.\n\nThe main purpose of this package integration with Home Assistant.\n\nNothing much to see for the moment but you can turn on the radio to preset #2:\n::\n\n  $ naim_control 192.168.1.183 --preset 2 --volume 10\n\n  usage: naim_control.py [-h] [-i {IRADIO,DIGITAL1,SPOTIFY,USB,UPNP,TIDAL,FRONT} | -p PRESET | -o] [-v VOLUME] address\n\n  Turn on Radio on naim Mu-so\n\n  positional arguments:\n    address               ip address of Mu-so\n\n  options:\n    -h, --help            show this help message and exit\n    -i {IRADIO,DIGITAL1,SPOTIFY,USB,UPNP,TIDAL,FRONT}, --input {IRADIO,DIGITAL1,SPOTIFY,USB,UPNP,TIDAL,FRONT}\n                          Select input\n    -p PRESET, --preset PRESET\n                          Preset [1-40]\n    -o, --off             Turn receiver off\n    -v VOLUME, --volume VOLUME\n                          Volume [0-100]\n\nMotivation\n----------\n\nNaim Mu-so implements DLNA to some extent and it is possible to control it in home automation systems.\nBasic stuff like volume up down and play some media works.\n\nBut there are functions that as far as I can tell can't be controlled with upnp/DLNA such as:\n\n- On/Off ( Standby off or standby on \u00ed Naim terms )\n- Input selection\n    - iRadio\n    - Digital\n    - Analog\n\n\nNaim does not publish an API for the Mu-so, but there is an App. So after 5 years of waiting for someone else to figure it out I decided to have a look at how it communicates with my Mu-so.\n\nCommunication\n-------------\n\nSome information found here: `Sniffing <api_sniffing/sniffing.rst>`_\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Package to control Naim Mu-so sound systems",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://github.com/blitzkopf/NaimCo",
        "Repository": "https://github.com/blitzkopf/NaimCo"
    },
    "split_keywords": [
        "naim",
        " mu-so",
        " homeassistant"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5c1f6d8a0ac75cdbd4e22b09b3ac1138707c407f6b3f032282ae8fcbfa8a3575",
                "md5": "ab947223197bac291a8f7b152eaad08d",
                "sha256": "899fff1f7ec007ed3b7d5d3656a8cf9d11c9e65248a07be34c5112942bd1bced"
            },
            "downloads": -1,
            "filename": "naimco-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ab947223197bac291a8f7b152eaad08d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 15335,
            "upload_time": "2024-08-22T15:20:46",
            "upload_time_iso_8601": "2024-08-22T15:20:46.125386Z",
            "url": "https://files.pythonhosted.org/packages/5c/1f/6d8a0ac75cdbd4e22b09b3ac1138707c407f6b3f032282ae8fcbfa8a3575/naimco-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b815576a848761b43583622a89297aba41ab2ccc9bdc75e45a08f57f20b9c20e",
                "md5": "2ba872bae1194bdb516be246b8988cca",
                "sha256": "750c83cfc301f3b06b9dedc09558524a98909c37e86432bc1dc0f3f4ab81328c"
            },
            "downloads": -1,
            "filename": "naimco-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "2ba872bae1194bdb516be246b8988cca",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 13306,
            "upload_time": "2024-08-22T15:20:47",
            "upload_time_iso_8601": "2024-08-22T15:20:47.568628Z",
            "url": "https://files.pythonhosted.org/packages/b8/15/576a848761b43583622a89297aba41ab2ccc9bdc75e45a08f57f20b9c20e/naimco-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 15:20:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "blitzkopf",
    "github_project": "NaimCo",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "naimco"
}
        
Elapsed time: 0.94007s