naimco


Namenaimco JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/blitzkopf/NaimCo
SummaryPackage to control Naim Mu-so sound systems
upload_time2024-05-02 14:23:04
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/9e/65/7cd38af6e925bef3bb2be4e3e2b0b3058b6a22c26e83c1af38bb6f702210/naimco-0.1.0.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.0",
    "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": "c1d3ce17c3948448a99c1ba49483919d3175647e4559c6238376580eacd3de01",
                "md5": "a4308519d466d13e0719d2a309c0964e",
                "sha256": "82a23fdb892d722a849d8af3a710aff14ff0c99ddc40a007130fa709e84ac0ae"
            },
            "downloads": -1,
            "filename": "naimco-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a4308519d466d13e0719d2a309c0964e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 12968,
            "upload_time": "2024-05-02T14:23:02",
            "upload_time_iso_8601": "2024-05-02T14:23:02.327924Z",
            "url": "https://files.pythonhosted.org/packages/c1/d3/ce17c3948448a99c1ba49483919d3175647e4559c6238376580eacd3de01/naimco-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9e657cd38af6e925bef3bb2be4e3e2b0b3058b6a22c26e83c1af38bb6f702210",
                "md5": "bf5f6adfca76b8e5b9e9f2db757180ec",
                "sha256": "1893ec0eb5df834320f4ea7bbf04dacf5b18f965b2ec4da4b9d589b5103f1532"
            },
            "downloads": -1,
            "filename": "naimco-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bf5f6adfca76b8e5b9e9f2db757180ec",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 11881,
            "upload_time": "2024-05-02T14:23:04",
            "upload_time_iso_8601": "2024-05-02T14:23:04.252587Z",
            "url": "https://files.pythonhosted.org/packages/9e/65/7cd38af6e925bef3bb2be4e3e2b0b3058b6a22c26e83c1af38bb6f702210/naimco-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-02 14:23:04",
    "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.30050s