Guy

Results 10 comments of Guy

sent a pull request with added functionality, please test. On Dec 8, 2017 18:20, "Guy Ellis" wrote: > @gairom that sounds like a reasonable > request. Would you like to...

Hi, I flashed the LSC PIR (via serial port) and I see it connects to hass mqtt but the only msg I get is: > [I][app:105]: ESPHome version 1.15.3 compiled...

On the same matter, is there any way to get the doc collection? That way I'll be able to allocate different type to each collection or put them in different...

Hi @phutchins , tried it, both "hits^" and "$hits^" didn't work, the listCollections return empty so I tried to change the regex and finally saw it's just a syntax problem,...

maybe somehow combine this with this plugin: https://github.com/stripe/mongoriver

You build your own component which connects to the WS and update the data (setState) and you pass the data to the chart component as props (data=this.state.data).

I can provide a code sample later today

Your component should look something like: connect() { this.ws = new WebSocket(url); this.ws.onmessage = this.onMessage; this.ws.onerror = this.onError; } onMessage(message) { let data = JSON.parse(message.data); this.setState({data: data}); //if the ws...

Update: also tried to use ctx._source.url but didn't work as well.