WaresWichall / hass-anycubic_cloud

Anycubic Cloud component for Home Assistant
GNU General Public License v3.0
13 stars 2 forks source link

v0.1.0 - New authentication, sensor tidy up, print image previews, bug fixes #19

Closed WaresWichall closed 2 months ago

WaresWichall commented 2 months ago

v0.1.0 Changes

BREAKING CHANGES

Authentication

Anycubic decided to block the method previously used for authentication, you will now need to:

  1. Go to the Anycubic Cloud Website
  2. Log in
  3. Open Developer Tools in your browser
  4. Paste window.localStorage["XX-Token"] into the console
  5. Copy/save the long string of numbers and letters without the '' - this is your user token.
  6. Use this to authenticate the integration instead of username/password

Entities

Sorry for automations relying on entity IDs! Needed to make some sense of all the sensors :)

Removed Sensors

The following sensors have been moved to attributes of other sensors.

Removed Sensor Attribute Moved to Sensor
Raw Device Status Code device_status_code Current Status
Raw Is Printing Code is_printing_code Current Status
Raw Print Status Code print_status_code Current Status
Raw Drying Status Code dry_status_code Drying Active
Secondary Raw Drying Status Code secondary_dry_status_code Secondary Drying Active
Raw Print Speed Mode Code print_speed_mode_code Print Speed Mode
Project Created At created_timestamp Project Name
Project Finished At finished_timestamp Project Name
Project Total Time Taken print_total_time Project Name

Renamed Sensors

The following sensors have been renamed

Old Name New Name
Multi-Color Box Spools ACE Spools
Multi-Color Box Current Temperature ACE Current Temperature
Secondary Multi-Color Box Spools Secondary ACE Spools
Secondary Multi-Color Box Current Temperature Secondary ACE Current Temperature
Project In Progress Job In Progress
Project Complete Job Complete
Project Failed Job Failed
Project Paused Job Paused
Project Image Preview Job Preview
Project Name Job Name
Project Progress % Job Progress %
Project Time Elapsed Job Time Elapsed
Project Time Remaining Job Time Remaining
Print State Job State
Approximate Completion Time Job ETA
Current Layer Job Current Layer
Total Layers Job Total Layers
Print Speed Mode Job Speed Mode
Z Thickness Job Z Thickness
Print Model Height Job Model Height
Print Anti Alias Job Anti Alias
Print On Time Job On Time
Print Off Time Job Off Time
Print Bottom Time Job Bottom Time
Print Bottom Layers Job Bottom Layers
Print Z Up Height Job Z Up Height
Print Z Up Speed Job Z Up Speed
Print Z Down Speed Job Z Down Speed