lociii / homeassistant-csgo Goto Github PK
View Code? Open in Web Editor NEWCS:GO gamestate reporting to Home Assistant
License: MIT License
CS:GO gamestate reporting to Home Assistant
License: MIT License
I followed the instructions and tested that it's configured correctly and communicating with my lights using the developer tools and the call feature in Home Assistant. However for the CSGO config to create the webhook URL I am unable to get it connect locally without using HomeAssistant cloud.
When I setup the plugin using HACS I installed the master branch (Since the master branch fixed the .translation issue of it being moved). However I never got a prompt showing me what my webhook URL is.
Is there a way to get the webhook URL?
My config:
"HomeAssistant Integration v.1"
{
"uri" "http://192.168.1.35:8123/api/webhook/"
"timeout" "5.0"
"buffer" "0.1"
"throttle" "0.5"
"heartbeat" "15.0"
"data"
{
"round" "1" // round phase, bomb state and round winner
}
}
I need to know what ID to put after /webhook/ as shown in #1
Hello,
after installing the addon using HACS, I followed the instructions in order to set up the addon. I went to Configuration > Integration and added the csgo-integration. After clicking on "submit" it creates an error:
The logs do not provide any info about the error.
What can I do to set up the integration correctly?
Thanks in advance
I have made the config file and CS is loading it, but now after some games, no entities are showing up?
What can be the problem?
Is it possible to have events where CT and T wins?
would love to stop my torrents when the game is launched.
loving it by the way, thank you ❤❤❤❤
I'm not really familiar with all of this. But I installed the repofrom HACS then I added it in integrations. I have now a webhook in the list.
I copied the webhook link into the cfg I created in the csgo folder but nothing happens.
I tried replacing my duckdns url by the IP so I have :
https://192.168.1.52:8123/api/webhook/47652722ff17e245b246bb1b20cea1cea5168dc02153f4cf12e65937733d0047
I tried a game, nothing is triggered, my webhook don't have any kind of sensor or something.
Hi! Cool integration, but it does not work. Atleast not for me.
I've added the integration using HACS.
Copied the uri (it uses a local IP?)
Created the file with the uri.
Log in HA says the .translations directory is deprecated. So I suppose it is loaded corret?
Console in CSGO says that it loaded a Game State Integration: Homeassistant
When I launch a game, notthing shows up in HA.
I´m a big noob when it comes to these things. I have intregrated the cs:go game state listener and copied the uri into the cfg file in csgo folder. But i don´t get anything to work.
All scripts you have done work when i try to use them sepratly but i don´t get anything to trigger.
What have i missed?
Hi contributors,
As I use linux to play CS:GO I cannot use the new overwolf pluging - so I hope that you can help me with my problem because I really would like to use this integration
After some newbie-problems while setting the integration up i am nearly succesful.
I changed the IDs and entities that concern my light to trigger accordingly to my setup, I can fire freezetime, bomb, explode and defuse by hand in the developer tools just fine.
Bomb planted doesn’t work for me, but that might be a limitation of my chosen light - the option "flash" does nothing but i will figure that one out hopefully.
The lights do not change ingame though - although the event and scripts and automations are triggered ingame.
I think it is because the “Round start/end” is triggered continuously throughout the round. So the light stays the same at all times.
Do you have any idea how to circumvent that?
When i deactivate the round start/end automation, the freezetime, bomb explode and defuse are triggered normally.
And what i didn’t get so far is why there is a delay of one hour in the Flashloop2 - or should this be 1 second?
And accordingly 10 seconds in Flashloop1?
In the config delay = "1" is translated to one hour.
I hope you can help me.
After install via HACS no URI is provided. The popup closes without any confirmation.
Server logs and client side devtools are useless (no errors or meaningful data).
Any known issue or fix ideia?
Similar: #2
Hey,
really like your integration :) Is there a way to determine, if my team won? I listened to the output from the steam game states and found the following:
{
"round": {
"phase": "over",
"win_team": "CT"
},
"player": {
"state": {
"health": 100,
"armor": 100,
"helmet": true,
"defusekit": true,
"flashed": 0,
"smoked": 0,
"burning": 0,
"money": 6650,
"round_kills": 3,
"round_killhs": 1,
"equip_value": 4500
}
},
"previously": {
"round": {
"phase": "live"
},
"player": {
"state": {
"money": 3800,
"round_kills": 2,
"round_killhs": 0
}
}
},
"added": {
"round": {
"win_team": true
}
}
}
There is a field ["added"]["round"]["win_team"]. Do you know what exactly this means? Or to be more concisely: is this the information I'm looking for?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.