Skip to content

Conversation

@OliverBrimdjam
Copy link

Hi, here is an update to stimulus control function using async/await. To work evenly may be necessary to update the other functions to ES6+ standard, should I invest time on it (the function is located between line 850 and line 886)?

@jakob-northvolt
Copy link

Hello @OliverBrimdjam, could you possible help me out here, I'm guessing this works for you.

I can't get my Pavlok 3 to respond. I get notifications on my iPhone but nothing happens with the device.
This is using both the old and the new API url:
Not sure what I'm doing wrong.

pavlok.login(function (result, code) {
if (result) {
console.log(result);
console.log("Let's buzz! " + code);
pavlok.vibrate( { intensity: 200 });
pavlok.beep({ intensity: 255 });
pavlok.zap( { intensity: 30 });
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants