felixganzer / ioBroker.hyperion_ng

adapter for control hyperionng for iobroker
MIT License
4 stars 5 forks source link

Cant set states #13

Closed develarts closed 2 years ago

develarts commented 2 years ago

Hello, i cant change values. Hyperion dont react. All installed correctly, seing all components/instances, when i changed whatever "ALL" components status to off, dont reaction. dont switched

Beneli21 commented 2 years ago

I've encountered the same issue today. Here is my quick and dirty fix:

Open hyperion_API.js, go to function "setComponentStatus" (line 247). Change it to:

async setComponentStatus(component, state, instance, callback) { component = component.replace(/_/g, ""); adapterMain.log.info('set component ' + component + ' of instance ' + instance + ' to ' + state);

felixganzer commented 2 years ago

Thanks, I will add this.