Giter Club home page Giter Club logo

ha-melview's Introduction

My website

ha-melview's People

Contributors

zacharyrs avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ha-melview's Issues

Zone Support

Hi,

Thanks for this it works great. I am close to getting zone support but need a tiny bit of help with a couple of things.
How do I push my changes to a branch in the repo for you to review?

Thanks

Error setting up Melview

While setting up melview, i get the below error:

2019-09-13 11:58:44 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform melview
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/melview/climate.py", line 321, in setup_platform
device_list.append(MelViewClimate(device))
File "/config/custom_components/melview/climate.py", line 75, in init
if self._device.get_precision_halves():
File "/config/custom_components/melview/melview.py", line 281, in get_precision_halves
return self._caps['halfdeg'] == 1
KeyError: 'halfdeg'

integratio not working after upating to 2023.5

I'm getting the following error in HA after upgrading to 2023.5.2 (it wqas working fine on 2022.4.5).

I get the following error log:

Logger: homeassistant.config_entries
Source: custom_components/melview/init.py:93
Integration: MelView (documentation, issues)
First occurred: May 11, 2023 at 10:05:56 PM (2 occurrences)
Last logged: 5:16:12 PM

Error setting up entry [email protected] for melview
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/melview/init.py", line 93, in async_setup_entry
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

No 'version' key in manifest file

This has been working fine. I recently updated HA and now I see this in the log when restarting:

2021-05-05 04:59:02 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'melview'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'melview'

Automation

I'm trying to create automations in HA but I only have a couple of entities
-MelView Dry Room current temperature
-MelView Dry Room heating
-MelView Dry Room target temperature

I'm looking for a state so I can say "if someone turns on "[dry room] then turn off after [8hrs]"

Any idea how I get the state into there of on or off?

Dynamic fan speeds

Per #4, should get whatever fan speeds are available and expose them.

Website controller defines these with:

self.fanStageInfo = {
  1: { class: "", ids: "5", desc: { 5: "On" } },
  2: { class: "ui-grid-a", ids: "25", desc: { 2: "Low", 5: "High" } },
  3: { class: "ui-grid-b", ids: "235", desc: { 2: "Low", 3: "Medium", 5: "High" } },
  4: { class: "ui-grid-c", ids: "2356", desc: { 2: "Low", 3: "Medium Low", 5: "Medium High", 6: "High" } },
  5: { class: "ui-grid-d", ids: "12356", desc: { 1: "Low", 2: "Medium Low", 3: "Medium", 5: "Medium High", 6: "High" } },
};

Gets the key in call to https://api.melview.net/api/unitcapabilities.aspx, we store under self._caps.fanstage.

Could expose using their speed names?

New install

Hi,

Very new to HA, but have used SmartThings for 5 years or more.

Just installed HA OS on a RPI4
Have put files in /config/custom_components/melview

Have added following the configuration.yaml
climate:

  • platform: melview
    email: user@email
    password: pass@word
    local: yes

I get the following error with configuration validation:
Platform error climate.melview - Integration 'melview' not found

When trying to restart via web GUI I get the following:
Failed to call service homeassistant/restart. The system cannot restart because the configuration is not valid: Platform error climate.melview - Integration 'melview' not found.

Any help would be appreciated

Melview stopped working since yesterday

Was working as expected until yesterday.

Logs below

Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:657
Integration: Climate (documentation, issues)
First occurred: 15 May 2021, 23:41:39 (920 occurrences)
Last logged: 15:00:41

Updating melview climate took longer than the scheduled update interval 0:01:00

Updating melview climate took longer than the scheduled update interval 0:01:00
15:00:41 – (WARNING) Climate - message first occurred at 15 May 2021, 23:41:39 and shows up 920 times

Outdoor Temp

Heya,

I see the code has provision for outdoor temp from the outside unit however im not seeing data in HA for it.
I logged into https://app.melview.net/ and went to a room and can see the outdoor temp showing just like it does in my Mitsi app.

Here is the code from looking at melview html source. I notice its outdoorTemp but the melview.py refers to lowercase, could this be the cause of it not working?

<div id="op-temp-outside" class="me-block-a-b" data-bind="attr: { 'aria-label': 'Outside Temperature ' + outdoorTemp() + '°C' }" aria-label="Outside Temperature 9°C" style="display: block;">
                        <div class="ui-grid-a">
                            <div class="ui-block-a h5" aria-labelledby="op-temp-outside">Outside</div>
                            <div class="ui-block-b roomtemp" data-bind="text:outdoorTemp() + '°C'" aria-labelledby="op-temp-outside">9°C</div>
                        </div>
                    </div>

ClimateDevice is depricated

HI there,

Not sure if you've seen this or not but I'm getting an error the logs for this component saying:

"ClimateDevice is deprecated, modify MelViewClimate to extend ClimateEntity".

Hasn't caused an issue yet but I guess it could on future versions.

I'm running HA 0.110.0.

Love this component btw, you've done a great job.

Fan speed

Hi there,

Again, great work on this component.

The Fan speed on my Heatpump and through the Melview App has 5 different speed settings.

Is that something easy to add/change to your component as it currently only has 3 speed settings.

Thanks
Adam

dev branch

It's been a while since the last commit to dev branch. Is there anything that prevents merging it to master?

LOCAL_DATA structure is different

Hi Z,

Thanks very much for this.

I had to change my LOCAL_DATA string to as follows:

LOCAL_DATA = """<?xml version="1.0" encoding="UTF-8"?>
<ESV>{}</ESV>
"""

Discovered by running web traffic through a proxy after seeing the local commands failed.

Using newish wall mounted units MSZ-AP25VGKD and MSZ-AP35VGKD and an older floor mounted model MFZ-KJ25VE. Also a new account with Melview, started in July / August 2019,

No idea what's changed / why my content tags are different, but thought I should post in case it helps anyone.

Cheers,

Alex

Typo in latest manifest - comma at end.

Hi. I noticed HA wouldn't load this integration as there was a comma at the end of the last line.
I removed it and it works. Please update source. PS - Thanks for your efforts. :)
"domain": "melview", "name": "MelView", "version": "1.0.0", "documentation": "https://github.com/zacharyrs/ha-melview/", "issue_tracker": "https://github.com/zacharyrs/ha-melview/issues", "dependencies": [], "codeowners": ["@zacharyrs"], "requirements": ["requests"], "iot_class": "cloud_polling", }

No devices just entities

Just wanted to check. I see the devices on my dashboard and can do actions like on off heat cool and set the temp, however when going to create a scene they are not showing up as devices.

Is this the expected behavior of your plug-in?

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.