Hi, i am a python programer, DIYer and a DM. I am in the proses of making a dnd table with the function of having 660 adressable rgb lights and mutch fancyness. I have programmed a python script that controls a arduino to controll al the lights.
But i realy want to find out when my players is casting for exsample fierball so that the lights in the table automaticly light up in flames. I dont know if this is possible, and i dont want to add another controllpannel to this table for spells bechause that just adds to complexsity and that is not what i am here to do. the mision of this table is to make the DM experience simple.
That's a pretty sick project. If the character sheets are public, you might be able to rig a web scraper using requests from the standard library to wait for changes on the page and detect them, but I don't know if you could detect the specific spell used. If you can't, I wouldn't discredit the use of a control panel, since you or a player could manually activate effects at any time, instead of doing a specific spell or writing a homebrew cantrip that procs the Arduino animation.
i like the idea of a web scraper but i can only scrape a certan amount of times before i get blocked. but i think i might be able to putt inn a seperat controllpanel for short term effects sutch as fireball and manualy activate them. but i realy want to keep it a 9 button settup so that i can just focus on controlling IE: tavern music and lights that is why i hope that it is possible to scrape the spesific spell that is casted so that i can use that to keep my settup simple.
At this point, if you really don't want to build a scraper or a separate control panel, check if there is an API. I doubt they do, but I can't think of any other way to do it.
it is/was on the road map but the website is constantly changing so i cant make a stable scraper that would be reliable. i just hope the team priorotises an API so that theese cool projekts become eaven cooler.
i think i might setle for another controllpannel in my V1 of this table.
update i have programmed a secondary controllpannel in to my table. i am waiting for the devs to make an open API but intil then enviroment light setting wil be semi automatic.
Rollback Post to RevisionRollBack
Simon the Server
To post a comment, please login or register a new account.
Hi, i am a python programer, DIYer and a DM.
I am in the proses of making a dnd table with the function of having 660 adressable rgb lights and mutch fancyness.
I have programmed a python script that controls a arduino to controll al the lights.
But i realy want to find out when my players is casting for exsample fierball so that the lights in the table automaticly light up in flames.
I dont know if this is possible, and i dont want to add another controllpannel to this table for spells bechause that just adds to complexsity and that is not what i am here to do.
the mision of this table is to make the DM experience simple.
Simon the Server
That's a pretty sick project. If the character sheets are public, you might be able to rig a web scraper using requests from the standard library to wait for changes on the page and detect them, but I don't know if you could detect the specific spell used. If you can't, I wouldn't discredit the use of a control panel, since you or a player could manually activate effects at any time, instead of doing a specific spell or writing a homebrew cantrip that procs the Arduino animation.
Now everything you know has disappeared
It's gonna get weird...
i like the idea of a web scraper but i can only scrape a certan amount of times before i get blocked.
but i think i might be able to putt inn a seperat controllpanel for short term effects sutch as fireball and manualy activate them.
but i realy want to keep it a 9 button settup so that i can just focus on controlling IE: tavern music and lights
that is why i hope that it is possible to scrape the spesific spell that is casted so that i can use that to keep my settup simple.
Simon the Server
At this point, if you really don't want to build a scraper or a separate control panel, check if there is an API. I doubt they do, but I can't think of any other way to do it.
Now everything you know has disappeared
It's gonna get weird...
it is/was on the road map but the website is constantly changing so i cant make a stable scraper that would be reliable.
i just hope the team priorotises an API so that theese cool projekts become eaven cooler.
i think i might setle for another controllpannel in my V1 of this table.
Simon the Server
update
i have programmed a secondary controllpannel in to my table.
i am waiting for the devs to make an open API but intil then enviroment light setting wil be semi automatic.
Simon the Server