HomeAssistant - Zemismart
Custom component - Zemismart - to add Zemismart devices into Home Assistant
This integration allows full local control of your Zemismart devices along with Zemismart specific features not available in the official Tuya or local tuya integrations.
It also allows you to use the application along with the Home Assistant running, or even multiple Home Assistant instances communicating with the same device. While you are using the application, the control via Home Assistant is not available.
Supported Devices
Zemismart Electric Floor Heating Thermostat
- Product ID: 3uoeudsge0ooafig
- Product version: 3.3
If you got this integration working with a different product, please let us know by creating a new issue! We will add that device to discovery process.
If an unsupported device is discovered, warning message is sent into log, please paste this message into a new issue if you got that device working.
Installation
Copy contents of custom_components/zemismart/ to custom_components/zemismart/ in your Home Assistant config folder.
Installation using HACS
Coming soon
HACS is a community store for Home Assistant. You can install HACS and then install Zemismart from the HACS store.
Requirements
Network
Broadcast UDP ports 6666 and 6667 must be open in firewall for the discovery process.
Tuya device’s Key
There are several ways to obtain the localKey depending on your environment and the devices you own. A good place to start getting info is https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md .
If you block cloud access
You must block DNS requests too (to the local DNS server eg 192.168.1.1). If you only block outbound internet then the device will sit in zombie state, it will refuse / not respond to any connections with the localkey. Connect the devices first with an active internet connection, grab each device localkey and then implement the block.
Usage
Add devices via Integrations (search for Zemismart) in Home Assistant UI.
To add multiple devices, add integration multiple times.
Services
Following built in climate services are supported:
- climate.set_hvac_mode
- climate.set_preset_mode
- climate.set_swing_mode
- climate.set_temperature
- climate.turn_off
- climate.turn_on
This integration additionally creates zemismart.* services to control specific features of the device.
zemismart.calibrate
Calibrates current temperature
- entity_id Required: Entity to calibrate temperature for
- difference Required: Temperature difference. Value between -9 and 9.
zemismart.lock
Locks thermostat
- entity_id Required: Entity to lock
zemismart.optimal_start
Turns on or off optimal start mode
- entity_id Required: Entity to set optimal start mode for
- state Required: Set optimal start mode on or off. Possible values: on, off.
zemismart.unlock
Unlocks thermostat
- entity_id Required: Entity to unlock
zemismart.use_sensor
Chooses temperature sensor to use
- entity_id Required: Entity to choose temperature sensor for
- sensor Required: Sensor to use. Possible values: internal, external, both
zemismart.window_mode
Turns on or off window mode
- entity_id Required: Entity to set window mode for
- state Required: Set window mode on or off. Possible values: on, off.
Have a comment or a suggestion?
Please open a new issue, or discuss on Home Assistant: Community Forum.
Thank you
- local tuya by which this integration has been inspired and uses some parts of it
Disclaimer
Author is in no way affiliated with Zemismart or Tuya.
Author does not guarantee functionality of this integration and is not responsible for any damage.
All product names, trademarks and registered trademarks in this repository, are property of their respective owners.