Whiterat

Results 38 comments of Whiterat

@1trackprojects1 Your repos suggest otherwise. If you really want to learn then I suggest you read about JS abstract syntax tree. The gists I published are more than enough to...

@al-one Hey 👋 Sorry it's taken me a few weeks to look at this, been a bit hectic! Having good success 😸 Couple of questions though. 1. Actions. How to...

Great! Thank you, I will update and try later :smiley: No problem using custom miot types, however I wonder if it's worth storing extend_miot_specs externally? This is just 1 device...

```python3 'mmgg.feeder.petfeeder': { ... 'extend_miot_specs': [ ... { 'iid': 200, 'type': 'urn:miot-spec-v2:service:extend', 'properties': [ ... ], 'actions': [ { 'iid': 301, 'type': 'urn:miot-spec-v2:action:reset_desiccant', 'description': 'Reset Desiccant', 'in': [], 'out': []...

That commit fixed it :smiley_cat: ``` 2022-01-21 13:23:18 INFO (SyncWorker_8) [custom_components.xiaomi_miot.core.miio2miot] Call miio method via miot action: ['x.x.x.x', 'action.200.301', 'resetdryer', ['2022-02-20']] ``` Although it still throws an error (even though...

Few more questions :) In miot spec, action arguments are piids for that service - how to do the same? (i.e to pass the value of a miio prop as...

I tried with prop name directly but it threw an exception that it did not exist. Edit: duh I'm blind. it's a dictionary. Ignore me on this point. Oh for...

@al-one I'd like to but it still feels a little incomplete. I don't want to add a device that then requires manual addition of templated entities to work. > For...

NumberEntity with RestoreEntity using weight_level prop would be great. How would you suggest this be implemented ? Currently the below works but of course without any write control over the...

Thanks for reply. Yes I understand it's 29bit for extended or 11bit for standard. But unlike mcp2515, stm32 filter seems to read from MSB, not MSB+3. ```text 11010000 00100000 00000000...