Code Monkey home page Code Monkey logo

homeassistant-csgo's People

Contributors

davidramiro avatar hwikene avatar jayreturns avatar leandroissa avatar lociii avatar salvemorte avatar scop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

homeassistant-csgo's Issues

Setting up without HomeAssistant Cloud

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

Catch and handle exception when no URL can be generated

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:

grafik

The logs do not provide any info about the error.

What can I do to set up the integration correctly?
Thanks in advance

CT or T win

Is it possible to have events where CT and T wins?

Setup works but nothing happen

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.

Nothing happens?

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.

Can´t get the webhook to work

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?

Problem with continuous triggering of game start/end

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.

URI not shown after install

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

Did my team win?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.