Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Device: Proscenic A8 air purifier #363

Open
ak6i opened this issue Apr 24, 2022 · 0 comments
Open

New Device: Proscenic A8 air purifier #363

ak6i opened this issue Apr 24, 2022 · 0 comments
Labels
newDevice Add support for a new device.

Comments

@ak6i
Copy link
Contributor

ak6i commented Apr 24, 2022

Describe your device
Air purifier with 3 speeds and auto mode, and built-in air quality sensor.

Partial Support?
Works partly - unable to control speed; several errors appear in logs on status updates; Homekit gets stuck showing "Turning off..." presumably due to the aforementioned errors. I've also seen it get stuck in "Turning on..." mode.

Device Schema
Close to the schema declared in AirPurifierAccessory.js, but:

  • no DP_MODE value (id 3 is absent) - this may be a cause of the "Turning off..." issue
  • DP_FAN_SPEED values are different (id 4 = 'sleep', 'mid', 'high' or 'auto') - this is why the speed can't be controlled, and the fact that these values are not numeric may also be a cause of the "Turning off..." issue
  • DP_AIR_QUALITY is on id 21, and like the Breville, returns 'great' - this is not an issue since air quality is derived from the PM2.5 reading
  • field 101: appears to be the number of hours the timer is set for. There's a button on the top that sets the timer for 2, 4 or 6 hours, and field 101 shows 2, 4 or 6 in these cases. When the timer is not set, field 101 is 0.
  • field 102: has always been 003 in my testing.

Example:
{
'1': true,
'2': 0,
'4': 'sleep',
'5': 97,
'7': false,
'8': false,
'11': false,
'16': 1959,
'17': 0,
'21': 'great',
'101': 0,
'102': '003'
}

Additional context
Supporting this in a nice way will require not only special handling for the fan speed labels, but also mapping the auto mode to and from DP_FAN_SPEED.

This is the finding from my preliminary research into the issue. I haven't yet read about how to test Homebridge plugins but I'm prepared to give it a go. Javascript isn't my main language but the code seems easy enough to follow so I'm hoping I can give it a go and provide a PR for this issue.

@ak6i ak6i added the newDevice Add support for a new device. label Apr 24, 2022
05TEVE pushed a commit that referenced this issue Apr 1, 2024
…addresses #363 and #195 (#364)

* Add support for Proscenic air purifier (tested against Proscenic A8)

* Additional fix for "Turning off..." state as getCurrentAirPurifierState always returned 2 (PURIFYING_AIR)

* Fix for setting rotation speed and active status

* Add initial support for Virone VDP-65 doorbell.
Notifies on ring with a snapshot.
Notifies when a user presses the lock or gate buttons on another device.
Does not provide video or audio.
Does not allow the user to control the lock or gate.

* Add Siguro support from @fate8383.

* Revert "Add initial support for Virone VDP-65 doorbell."

This reverts commit 7db7a1f.

---------

Co-authored-by: Andrew <bitbucket@a.k6i.uk>
Co-authored-by: Andrew Kurowski <ak6i@github.com>
05TEVE added a commit that referenced this issue May 3, 2024
* Adding in fix for Issue #444.

* Reverting the SimpleBlindsAccessory back to the version suggested in #451

* Updating to try cater for multiple types of blinds in the same file.



* 3.4 Protocol succesfull connection
* restore other protocols compatibility

* Revert "Changes from @fate8383. #433 (comment)"

This reverts commit d85caa5.

* Add support for Proscenic air purifier (tested against Proscenic A8) addresses #363 and #195 (#364)

* Add support for Proscenic air purifier (tested against Proscenic A8)

* Additional fix for "Turning off..." state as getCurrentAirPurifierState always returned 2 (PURIFYING_AIR)

* Fix for setting rotation speed and active status

* Add initial support for Virone VDP-65 doorbell.
Notifies on ring with a snapshot.
Notifies when a user presses the lock or gate buttons on another device.
Does not provide video or audio.
Does not allow the user to control the lock or gate.

* Add Siguro support from @fate8383.

* Revert "Add initial support for Virone VDP-65 doorbell."

This reverts commit 7db7a1f.

---------

Co-authored-by: Andrew <bitbucket@a.k6i.uk>
Co-authored-by: Andrew Kurowski <ak6i@github.com>

* Adding Air purifier config map so that changes can be made from the ui.

* Bumping package version. Removing a rogue ,

* Dropping the Beta Version in preparation of a release.

---------

Co-authored-by: 05TEVE <>
Co-authored-by: scooterpsu <3433982+scooterpsu@users.noreply.github.com>
Co-authored-by: tomash1 <tomdomaracki@gmail.com>
Co-authored-by: ak6i <62596884+ak6i@users.noreply.github.com>
Co-authored-by: Andrew <bitbucket@a.k6i.uk>
Co-authored-by: Andrew Kurowski <ak6i@github.com>
ThisIsQasim pushed a commit to ThisIsQasim/homebridge-tuya that referenced this issue May 3, 2024
* Adding in fix for Issue iRayanKhan#444.

* Reverting the SimpleBlindsAccessory back to the version suggested in iRayanKhan#451

* Updating to try cater for multiple types of blinds in the same file.



* 3.4 Protocol succesfull connection
* restore other protocols compatibility

* Revert "Changes from @fate8383. iRayanKhan#433 (comment)"

This reverts commit d85caa5.

* Add support for Proscenic air purifier (tested against Proscenic A8) addresses iRayanKhan#363 and iRayanKhan#195 (iRayanKhan#364)

* Add support for Proscenic air purifier (tested against Proscenic A8)

* Additional fix for "Turning off..." state as getCurrentAirPurifierState always returned 2 (PURIFYING_AIR)

* Fix for setting rotation speed and active status

* Add initial support for Virone VDP-65 doorbell.
Notifies on ring with a snapshot.
Notifies when a user presses the lock or gate buttons on another device.
Does not provide video or audio.
Does not allow the user to control the lock or gate.

* Add Siguro support from @fate8383.

* Revert "Add initial support for Virone VDP-65 doorbell."

This reverts commit 7db7a1f.

---------

Co-authored-by: Andrew <bitbucket@a.k6i.uk>
Co-authored-by: Andrew Kurowski <ak6i@github.com>

* Adding Air purifier config map so that changes can be made from the ui.

* Bumping package version. Removing a rogue ,

* Dropping the Beta Version in preparation of a release.

---------

Co-authored-by: 05TEVE <>
Co-authored-by: scooterpsu <3433982+scooterpsu@users.noreply.github.com>
Co-authored-by: tomash1 <tomdomaracki@gmail.com>
Co-authored-by: ak6i <62596884+ak6i@users.noreply.github.com>
Co-authored-by: Andrew <bitbucket@a.k6i.uk>
Co-authored-by: Andrew Kurowski <ak6i@github.com>
ThisIsQasim pushed a commit to ThisIsQasim/homebridge-tuya that referenced this issue May 3, 2024
* Adding in fix for Issue iRayanKhan#444.

* Reverting the SimpleBlindsAccessory back to the version suggested in iRayanKhan#451

* Updating to try cater for multiple types of blinds in the same file.



* 3.4 Protocol succesfull connection
* restore other protocols compatibility

* Revert "Changes from @fate8383. iRayanKhan#433 (comment)"

This reverts commit d85caa5.

* Add support for Proscenic air purifier (tested against Proscenic A8) addresses iRayanKhan#363 and iRayanKhan#195 (iRayanKhan#364)

* Add support for Proscenic air purifier (tested against Proscenic A8)

* Additional fix for "Turning off..." state as getCurrentAirPurifierState always returned 2 (PURIFYING_AIR)

* Fix for setting rotation speed and active status

* Add initial support for Virone VDP-65 doorbell.
Notifies on ring with a snapshot.
Notifies when a user presses the lock or gate buttons on another device.
Does not provide video or audio.
Does not allow the user to control the lock or gate.

* Add Siguro support from @fate8383.

* Revert "Add initial support for Virone VDP-65 doorbell."

This reverts commit 7db7a1f.

---------

Co-authored-by: Andrew <bitbucket@a.k6i.uk>
Co-authored-by: Andrew Kurowski <ak6i@github.com>

* Adding Air purifier config map so that changes can be made from the ui.

* Bumping package version. Removing a rogue ,

* Dropping the Beta Version in preparation of a release.

---------

Co-authored-by: 05TEVE <>
Co-authored-by: scooterpsu <3433982+scooterpsu@users.noreply.github.com>
Co-authored-by: tomash1 <tomdomaracki@gmail.com>
Co-authored-by: ak6i <62596884+ak6i@users.noreply.github.com>
Co-authored-by: Andrew <bitbucket@a.k6i.uk>
Co-authored-by: Andrew Kurowski <ak6i@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
newDevice Add support for a new device.
Projects
None yet
Development

No branches or pull requests

1 participant