Skip to content

How can I get the pidSV value and send the value out through websockets ? #866

Answered by sakunamary
sakunamary asked this question in Q&A
Discussion options

You must be logged in to vote

Just Mark down the Answer:

Artisan has the possibility to send out a custom command at regular time intervals or at every sampling step. This is configured in the Events tab (Config >> Events, 1st tab). If you choose there to send out a WebSocket with the following specification

send({"target": {BTB}})

Artisan will send out the background profiles current BT reading (bound to the variable {BTB}).

With this Artisan will send out something like this to the connected WebSocket:

{'target': 190.81851178294332, 'id': 9140, 'roasterID': 0}

In case Artisan is not recording or there is no background profile data available it will send out -1.

After coding and Testing , Now is working , Look at …

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@sakunamary
Comment options

@sakunamary
Comment options

@MAKOMO
Comment options

@sakunamary
Comment options

@MAKOMO
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by sakunamary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants