Notifications
Clear all
Search result for: WA 0821 7001 0763 (FORTRESS) pintu besi tahan api Mandrehe Kabupaten Nias Barat Sumatera Utara
Page 1 / 2
Next
Holger,
A couple things with your request:
The address you wrote above has a misspelling of "/3002" in it (it should have a colon before 3002). The correct address would either be "http://XX.XX.XX.XX/sisbot/play" or "http://XX.XX.XX.XX:3002/sisbot/play". The port number is optional as the proxy server will direct it to the right place.
The other important difference is the api expects a POST request. You would need to use a form, Ajax, or some other means (Postman, as Joel notes above) besides the browser address bar. There is no authentication needed.
Hope that helps. Let me know if you need more assistance.
Matt
I'll pencil in some of the api's as I research them.
Please let me know if any of these appear to be in error.
Joel
For all of these URLs, I'm omitting the DNS or IP address prefix which would look something like this 192.168.1.13/sisbot/play.
Also note that the proxy at 80 for forward over to the actual sisbot listener at 3002. Without proxy this would look like 192.168.1.13:3002/sisbot/play
You MUST replace the 192.168.1.13 with whatever IP or DNS you can reach your table at on your home router. You CAN keep the :3002 port or use with no port specifier on the default port 80 for each one of the URL.s
Here's the link to the docs.
Yeahh, now I got it! Thank you, Matt!
I WAnt to integrate this now into my home automation (), let´s see...
Best,
Holger
Thanks for the screenshot, I WAs able to duplicate your issue here after comparing to my own setup.
The table is expecting form data (even if empty), which can be included in the Body tab. I've attached a screenshot of what the value should be in this case. I'll update the server to accept it without specific data in the future, but for now just include the empty "data" object.
Matt
Attachment : Screen-Shot-2020-06-15-at-9.33.38-AM.png
Hi Matt,
thanks for your reply. I WAs offline for a while, sorry.
I see the colon issue, and I used Postman for generating the right request.
Unfortunately sisbot responds with error, pls. see screenshot. I tried with and w/o port parameter, same response.
Attachment : Screenshot-2020-06-14-17.38.33.png
If I send a "http://XX.XX.XX.XX/3002/sisbot/play" by my browser´I get the reply "Error: ENOENT: no such file or directory, stat '/home/pi/sisbot-server/sisbot/play' ".
Do I have to do some autentification stuff before?
Holger
... the table's motor makes an unusual (almost grinding noise) when the track starts to play.
I WAs concerned that this noise might be a sign of doing something that might cause damage to the table. Is there another api call that I should make before calling "play_next_track", to avoid the noise?
... to Unpause the Sisyphus and have it start the new track.
In the Flic app on your phone that the Bluetooth button connects to,
Set up an Internet Request, Set the type to Post
address set to
Unpause address>/sisbot/playPause address>/sisbot/pause
Body is {"data":{}}
content type is application/json
Save it and now when you press the flic button you can unpause the Sisyphus and start the next track.
Attachment : Screenshot_20180707-131505_Flic.jpg
Where did you get the info on the webrequests? Is there a documentation for that? What ...
Under-the-hood, it is using cron, but the current app/api setup doesn't allow more than the options we make available through the app.
Considering the thread you put this on though, I do have a working beta of the Matter (smart home) software. I personally only have Apple Home for testing, but it should be interoperable on all the major platforms. This would be the best WAy to really customize your schedule to fit any need.
A friend mentioned an idea that I think is great, but not sure exactly how to pull it off yet or visualize it. The idea is to incorporate the weather forecast. Maybe have it write out the temp 'HI:57/LO: 42' 'Partly Cloudy', and draw some clouds...or something like that...have a set of prebuilt patterns to piece together to make some renderings. Just thinking out loud...seems like it would be doable. Is there a rest (or other) api for directly uploading a file to the table and triggering it to render? I have seen some projects with table control as the aim, so seems plausible.
Thoughts?
Birch
@ddkengr - Our dev team is working on that part of the api - both for position info to go in and out.
As @dithermaster relayed, you can use the jog interface to discretely move each axis. But we haven't yet added that to our api. But our dev is working now on doing just that (allowing you to stream in commands via POST calls). As for getting used to the polar system - it does take some time, but it gets easier the more you play with it. While both Cartesian and polar systems can describe every point on a plane, there are some big differences (the point at the center of the polar system can have different thetas, but still be in the same position (though having different "headings")). And there are what I think of as "symmetries": In the XY world, you can emulate curves using lots of little straight lines. Whereas in the polar world, you can emulate straight lines with lots of little spiral arcs. While there are some gotchas when converting Cartesian plots to polar plots, any path created in one system can be converted to other (with regard to positions along the path).
The iPhone app does have a "rho / theta jog" command; maybe that api could be used to implement your "immediate mode" request.
Would it be possible to add an ambient light sensor to the raspberry board of the Mini in order to have an auto brightness like the tables? Up to now I am setting the brightness over the api and an external light sensor, however something included would be more fail safe.
If it is not supported by the software, would it be possible to get access to the pi user account to have a script running to check a photo resistor connected to one of the GPIs?
We are working on the api, making it easier to use Alexa with Sisyphus. But given current circumstances, it's on hold. As for the LEDs on he circuit boards, there's no WAy to turn them off with current software. We do have plans to offer a bottom cover, but again, on hold at present. You can cover the LEDs with black electrical tape as a temporary solution.
... via that route, but we haven't dived into it (yet). The down-side of LIFX Z is that the "quantum" of control is a group (zone) of 6 RGBW LED's, and I'm assuming the circuitry on their strips is proprietary, and takes advantage of being able to use 24V (as opposed to 5V for all other individually addressable LED strips). I'm guessing the 6 LEDs in each zone are wired in series makeing it possible to use a higher voltage, and hence far lower power supply current to produce the same WAttage. I'll be posting soon about our prelim findings comparing LIFEX Z to " ...
You are not alone! After a few people wrote about their success connecting a Flic button, I tried it, and though it WAs cool to be abe to get it to work, I could see its limitations. Voice command is definitely the WAy to go IMO. We are definitely planning to devote significant developer time on this, and IFTTT is likely the place we'll start. Our hope is to get our api to a level documentation where the community can start experimenting soon.
I hear you. We are working on making the app better. The focus is going to be not on brute force (cutting power and turning back on). Everything is connected and has an api (way to "talk" to the world). Sisyphus. Alexa. Homekit (Siri).... It's coming. Just can't pinpoint how long it will take us. But not long is my prediction.
@Cameron -
Thanks for the work you're doing on this. We've added api documentation to our dev's priority list, and with some pointers from him I WAs able to get my Flic button to control play/pause and brightness up/dn. Given the Flic is limited to three actions (click, double-click, and hold) I don't see it as the ideal controller for Sisyphus - but it has definitely fueled our desire to explore more WAys to allow people to connect their tables to a range of IoT control schemes.
Page 1 / 2
Next
We take your privacy seriously and will only use your personal information to provide you with the products and services you request from us. Please see our privacy policy for more details.