text:
[BUG] Connection Refused

Describe the bug
After selecting the section of the map, a connection refused message appears with no additional information provided.  Seems the middleware service is offline?
Additional context
Error was for this URL: https://z.overpass-api.de/api/interpreter?data=[out%3Ajson][timeout%3A1800][bbox%3A33.937414%2C-98.527536%2C33.945318%2C-98.511572]%3B
++++(
++++++++nwr["building"]%3B
++++++++nwr["highway"]%3B
++++++++nwr["landuse"]%3B
++++++++nwr["natural"]%3B
++++++++nwr["leisure"]%3B
++++++++nwr["water"]%3B
++++++++nwr["waterway"]%3B
++++++++nwr["amenity"]%3B
++++++++nwr["tourism"]%3B
++++++++nwr["bridge"]%3B
++++++++nwr["railway"]%3B
++++++++nwr["barrier"]%3B
++++++++nwr["entrance"]%3B
++++++++nwr["door"]%3B
++++++++way%3B
++++)->.relsinbbox%3B
++++(
++++++++way(r.relsinbbox)%3B
++++)->.waysinbbox%3B
++++(
++++++++node(w.waysinbbox)%3B
++++++++node(w.relsinbbox)%3B
++++)->.nodesinbbox%3B
++++.relsinbbox+out+body%3B
++++.waysinbbox+out+body%3B
++++.nodesinbbox+out+skel+qt%3B

Hi there, thanks for the report!
Did you only try it once? There are multiple API servers from which one is randomly chosen. Also, the server seems to be online (again).
Let me know if your problem still persists, since I cannot replicate it. Have a happy new year!

Thanks for the quick reply!  I'll try it again later and let you know.  I also hope you have a happy new year and thank you for this awesome project! :D

authors: badvision louis-e

repo: louis-e/arnis


text:
[examples/demos/integration/ideas]

RAG from the street with your AR device
POC with
https://brilliant.xyz/
use case:

i walk in the street and want to find some book part i was reading on my laptop
i wear brilliant frames and tap once on the frame and say "yo remind me this quote from Charlie Munger about patience please, check my laptop screen text fyi"
and AI stream an answer in audio in my airpods

would do a dirty tunnel with ngrok on my mac so i can query it all the time (with some api key to avoid the world hacking into my digital memory)
plus ios app on phone that do bridge between chatgpt (or local llm) + frame + laptop
Other ideas
TODO

There is a way
Help CocktailPeanut or his team make this work on Pinokio.computer
(mostly helping with the script to install it for any machine)
Then you can use his Feature (Cloudflare backend) to access it from anywhere in the world

ai tiktok video based on what you do
i like https://www.revid.ai/ even tho im not tiktok user at all
just shipping AI tiktok videos in < 5 min and i see now they have an api
so i could automatically push tiktok video at the end of my day based on stuff i do

Maybe a walkthrough for people how to use it with Ollama (LM studio is also viable) in the Readme files, so more non-programmer folks can get started with it easier and you get more people to test and break things (hopefully they report the bugs here ^^)
like so they know where to put the below when running with python
client = OpenAI(
base_url = 'http://localhost:11434/v1',
api_key='ollama', # required, but unused
)
maybe also add the base url into the environment file
when using your vercel file
Vercel AI SDK
The Vercel AI SDK is an open-source library for building conversational streaming applications. To get started, use create-next-app to clone the example repo:
npx create-next-app --example https://github.com/vercel/ai/tree/main/examples/next-openai example
cd example
Then make the following two edits in app/api/chat/route.ts to update the chat example to use Ollama:
const openai = new OpenAI({
baseURL: 'http://localhost:11434/v1',
apiKey: 'ollama',
});
const response = await openai.chat.completions.create({
model: 'llama2',
stream: true,
messages,
});
Next, run the app:
npm run dev
Finally, open the example app in your browser at http://localhost:3000/:

@AllyourBaseBelongToUs thanks! we're going to release a version for nontechnical users that include latest/best local LLM by default (and people can easily switch to openai if they want)
make sure to join the waitlist for nontechnical users here:
https://screenpi.pe/
what use case of screenpipe excite you?

@AllyourBaseBelongToUs thanks! we're going to release a version for nontechnical users that include latest/best local LLM by default (and people can easily switch to openai if they want)
make sure to join the waitlist for nontechnical users here: https://screenpi.pe/
what use case of screenpipe excite you?

Alright thank you very much Louis
use case:
Mostly the tracking feature, and not sure if It's not already there yet.
The capability to RAG based on my date, making it learn from my experiences
Similar to Quivr Quant from Stan Girard and the Second Brain inspired by @BrainRoemmele on Twitter

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Demo: Implement a low-level start screen as a test.

This fixes the unreliable "swipe to/from the apps list", instead of requiring the user to swipe past a certain point it'll work the same as it does on WP8.
Not sure if it would make sense to have it be a part of the metro library in the future?

This will be included as a part of #196 due to changing how tiles work either way.

source: gharchive/pull-request


text:
[BUG]  .veritical_span(...) should have a round parameter similar to .trend_line(...)

Expected Behavior
Most of the parameters between .trend_line and .vertical_span are the same
I think taking the logic that is applied to trend_line (paramter=round) and applying it to vertical span will get the desired result
Would make for a smoother user experience.
Current Behaviour
The veridical span does not draw  if the start_time and end_time falls between a bar

Reproducible Example
N/A

Environment
- OS: Win10
- Library:Latest 1.0.18.9

Sorry meant to mark it as a feature request....

Added in the latest version.
Louis


text:
Make a image into several tile images once

What are you trying to achieve?

I hope to make a image into several tiled image.
For example, I want to make a 100100 image to 4 images as 5050 image.

Have you searched for similar feature requests?

Yes

What would you expect the API to look like?
const srcImage = "image.png";
const destFolder = "./ImageFolder";
const keyword = "tile"

sharp(srcImage)
    .toTiles({ width: 50, height: 50 })
    .toFile(destImage, keyword)
    .then(function(new_file_info) {
      console.log("Images tiled and saved");
    })
    .catch(function(err) {
      console.log(err);
    });

What alternatives have you considered?

I used extract. But to make image tile, I had to repeat load and extract several times.
I think this is wasted of resources. I want to load just once.

Is there a sample image that helps explain?

After toTiles.

4 image files are created

Hello, did you see the tile operation?

Yes I did @lovell .
sharp(srcImage)
    .png()
    .tile({
      size: 512
    })
    .toFile("output.dz", function(err, info) {
      // output.dzi is the Deep Zoom XML definition
      // output_files contains 512x512 tiles grouped by zoom level
    });

I don't know if I did well, but it was not what I expected.
I don't need zoomed image. I need pieces of original image.
So I tried to do like below code
sharp(srcImage)
    .extract({ width: 5, height: 5, left: 215, top: 121 })
    .toFile("dest1.png")
    .then(function(new_file_info) {
      console.log("Image cropped and saved");
    })
    .catch(function(err) {
      console.log(err);
    });

sharp(srcImage)
    .extract({ width: 5, height: 5, left: 220, top: 121 })
    .toFile("dest2.png")
    .then(function(new_file_info) {
      console.log("Image cropped and saved");
    })
    .catch(function(err) {
      console.log(err);
    });

....

Using a blank 100x100 input image:
sharp({
  create: {
    width: 100,
    height: 100,
    channels: 3,
    background: "red"
  }
})
  .png()
  .tile({ size: 50, depth: "one" })
  .toFile("out.dz")

with the tile operation configured to your needs produces:
$ vipsheader out_files/0/*
out_files/0/0_0.png: 50x50 uchar, 3 bands, srgb, pngload
out_files/0/0_1.png: 50x50 uchar, 3 bands, srgb, pngload
out_files/0/1_0.png: 50x50 uchar, 3 bands, srgb, pngload
out_files/0/1_1.png: 50x50 uchar, 3 bands, srgb, pngload

Yes! it works like what I want.
Thanks, @lovell

@lovell.
I have an another question.
If srcImage was not a square, how can I make the image to square tiles when pivot is (0,0) ?

Please can you provide a worked example of this question (as you did with the 100x100 example before).

Sorry. I changed logics.
Now it's enough to me.
Thanks!

I get the following error when trying to create a deep zoom tile(s):
rename: unable to rename file "/myfolder/output-C948Y0/output_files" as "/myfolder/output_files", Directory not empty
Seems that tile creates a temp folder output-C948Y0/output_files that cannot be renamed / moved back to /output_files because /output_files is not empty.
I use:
sharp(srcImage)
    .tile({
      size: 256
    })
    .toFile("/myfolder/output.dz", function(err, info) {
      // output.dzi is the Deep Zoom XML definition
      // output_files contains 256x256 tiles grouped by zoom level
    });

authors: 1Map Jongkeun lovell

repo: lovell/sharp


text:
It would be nice to have a super fast 100x faster than pixelmatch function

What are you trying to achieve?
Use the sharp library to compare an input image to hundreds/thousands of images to find the closest match at speeds 100x faster than https://github.com/mapbox/pixelmatch
Have you searched for similar feature requests?
https://github.com/lovell/sharp/issues/1067
https://github.com/lovell/sharp/issues/1067#issuecomment-580969548 (my comment)
What would you expect the API to look like?
I'm not sure yet, but I prepared a proof of concept that is exciting to mention (at least for me)
What alternatives have you considered?
None.
Is there a sample image that helps explain?
No.

Perhaps you could publish the logic in https://github.com/lovell/sharp/issues/1067#issuecomment-580969548 as a separate module?

Something like dhash would be interesting to try:
https://github.com/Nakilon/dhash-vips/blob/master/lib/dhash-vips.rb
It does something like:

Chop the image into a 8 x 8 grid (like a chessboard)
For each of the 64 grid squares, is the average of pixels in that square lighter or darker than the overall image average? Set that square to 1 or 0
Turn the 64 bits into a 64-bit uint

Now you have a fingerprint of the large-scale structure of the image that you can store in a DB. To compare two fingerprints, EOR them together and count the number of set bits. A smaller number is a better match.

@jcupitt  thank you for mentioning ..D
Though you have actually described aHash, not dHash. aHash compares the pixel to the image average, dHash compares direct neighbours. idHash is like dHash but checks only the most remarkable half of pairs.
There is no commonly accepted set of test images or universal metric that would measure how accurately it works. Each algorithm has own speed in hashing and in comparing of the hashes. And it also depends on what are your input images -- pixel based algorithms like aHash, dHash, idHash will work enough well with common photos but for stars sky (there must be specialized algorithms that know what the "star" is) or country flags (should not be color blind).
It's like sorting algorithms -- you are free to use any of them but some might suit your data better than others.

+1 for this... has there been any update on this concept of image comparison with sharp? Thanks!

I don't have heaps of images to test how performant this is, but I took the logic from https://github.com/lovell/sharp/issues/1067#issuecomment-580969548 and wrote a self-contained async function in TypeScript that will output the diff of each comparison image:
import sharp, {Sharp} from 'sharp';

export async function imageDiff(
    baselineImage: Sharp,
    comparisonImages: ReadonlyArray<Sharp>,
    threshold = 0.15,
): Promise<number[]> {
    /** Does this need to be called again with `true` after the function is done? */
    sharp.cache(false);
    const rawBaseline = await baselineImage.ensureAlpha().raw().toBuffer();

    const imageDiffs = await Promise.all(
        comparisonImages.map(async (comparisonImage, index): Promise<number> => {
            let diffPixels = 0;
            const rawComparison = await comparisonImage.raw().toBuffer();

            if (rawBaseline.equals(rawComparison)) {
                /** No need to check further if the buffers are exactly equal. */
                return 0;
            } else {
                const metadata = await comparisonImage.metadata();
                if (!metadata.channels) {
                    /** Idk what the implications are of channels being undefined. */
                    throw new Error(`No channels at index ${index}`);
                }

                for (let i = 0; i < rawBaseline.length; i += metadata.channels) {
                    if (
                        metadata.channels === 4 &&
                        rawComparison[i + 3] === 0 &&
                        rawBaseline[i + 3] === 0
                    ) {
                        /** Skip fully transparent pixels. */
                        continue;
                    } else if (
                        metadata.channels === 4 &&
                        (rawComparison[i + 3] === 0 || rawBaseline[i + 3] === 0)
                    ) {
                        /**
                         * If one image's pixel is fully transparent, then only compare threshold of
                         * alpha channel.
                         */
                        if (
                            Math.abs(rawComparison[i + 3]! - rawBaseline[i + 3]!) >
                            255 * threshold
                        ) {
                            diffPixels++;
                        }
                    } else {
                        if (
                            Math.abs(rawComparison[i]! - rawBaseline[i]!) +
                                Math.abs(rawComparison[i + 1]! - rawBaseline[i + 1]!) +
                                Math.abs(rawComparison[i + 2]! - rawBaseline[i + 2]!) +
                                Math.abs(rawComparison[i + 3]! - rawBaseline[i + 3]!) >
                            255 * threshold
                        ) {
                            diffPixels++;
                        }
                    }
                    /**
                     * For more useful calculations of color distances/thresholds, see:
                     * https://www.npmjs.com/package/d3-color
                     * https://www.npmjs.com/package/d3-color-difference
                     */
                }
            }

            return diffPixels;
        }),
    );

    return imageDiffs;
}

This looks great! Do you have any rough benchmarks on how long this takes for different image sizes?

I'm operating on images that are nearly all the same size at the moment, but here are some super rough benchmarks on an M1 Max MacBook Pro running Node.js v20:

300x300: 3-16 milliseconds
300x400: 12-16 milliseconds

authors: GitMurf Nakilon electrovir jasonkhanlar jcupitt lovell


text:
Input file is of an unsupported image format on passing jpeg, jpg or png

I have install dependency using following command on my ubuntu 14.04
curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | sudo bash -

Installation went good then I installed npm install sharp and trying to pass jpeg,jpg or png in following sample code from doc.
sharp('book.png')
  .resize(300, 200)
  .toFile('output.png', function(err) {

  });

and getting the following error
Input file is of an unsupported image format

Hello Shamsher, the error you're experiencing means either the file (or at least its metadata) cannot be understood or the file doesn't exist. If you're using relative paths, these are from the current working directory.

Thanks for your quick response @lovell , I have put image in my current directory, I will give try today with relative path and with different image types.

I have tried with relative path and with different image types and it works. thank @lovell

hey lovell,  i am getting this error "Input file is of an unsupported image format" and my code is this
sharp('mark.png')
.resize(300, 200)
.toFile('output.png', function(err) {
});


text:
Picture auto enhancement

I'm sorry if this question seems silly but I didn't see anywhere an "auto" mode other than for the rotation function.
What are you trying to achieve?
We have a lot of documents arriving in our system that are scanned and often not easily readable, we are looking to auto enhances (if necessary) the picture, the contrast, and the luminosity (like the filter of windows).

By "if necessary" I mean:  that we don't want to apply a luminosity + 10 on an image already too bright or a - 10 on one already too dark.
Have you searched for similar questions?
Yes, but I didn't found.
Are you able to provide a minimal, standalone code sample that demonstrates this question?
An example:

Input:

Output:

Are you able to provide a sample image that helps explain the question?
(Yes see the two above)

Hi, did you see the clahe and normalise operations?

Hello @lovell , thank you a lot for your answer!
I tried this morning the two functions you recommended but It doesn't seem to make a major improvement:

Do I'm doing something wrong ?
const fs = require("fs");
const sharp = require("sharp");

let files = fs.readdirSync('./input');
console.log("Input files: ", files);
if (fs.existsSync('./output'))
    fs.rmdirSync('./output', { recursive: true, force: true });
fs.mkdirSync('./output');

files.forEach(fileName => {
    console.log('Convert: ./input/' + fileName + " -> ./output/" + fileName + " ...");
    let image = sharp('./input/' + fileName);
    image.metadata()
        .then(metadata => {
            image.clahe({ width: metadata.width, height: metadata.height })
                .normalise()
                .withMetadata()
                .toFile('./output/' + fileName);
        })
});

Perhaps try using CLAHE with a smaller local region.
https://en.wikipedia.org/wiki/Adaptive_histogram_equalization
For example using the following code with the above input:
sharp(input)
  .clahe({ width: 21, height: 21 })
  .normalise()
  ...

produces:

Thank you @lovell, yes in fact with a smaller local region made it look better.
Is there a way to make it automatically brighter or darker?

The normalise operation will already have spread luminosity over the full range, so if you always want it to be brighter you'll need to use modulate and pass either lightness (additive) or brightness (multiplicative).

Then there is no way to detect it automatically? :/

Let's track this at #200, which is about improving normalise and should help with this kind of scenario.


text:
Accept svg string

Edit: The string containing the SVG file contents must be converted to a buffer first,
it would be nice if sharp also converts a SVG file to string to buffer.

Hello, string-based input is used for filesystem paths. I'm not convinced content sniffing is the way to go here given the simplicity of a sharp(new Buffer(svg))... wrapper.

@lovell suggestion worked for me
const png = await sharp(Buffer.from(svg)).png().toBuffer();
const image = await loadImage(png);

authors: lovell strarsis sultanmyrza


text:
Add a double_fault detector to core_ibex uvm environment

Add a new scoreboard component to the core_ibex uvm environment, which contains a double_fault detector task. This uses the top-level output 'double_fault_seen_o' to count the number of total and consecutive double_faults seen within a test. A helper task allows the base_test to wait upon each of these counters reaching the configured thresholds, and then to end the test early with a passing result.
The default thresholds are 100 for consecutive faults, and 1000 for total faults.
The double_fault detector is disabled by default.
A plusarg '+enable_double_fault_detector=1' enables the checker.
This commit enables it for only the 'pmp_full_random_test', as that is a useful test candidate to begin with.
Closes #1823.

I've found a seed where the double fault detection does not work:
make -j1 --keep-going IBEX_CONFIG=opentitan ITERATIONS=1 TEST=riscv_epmp_mml_read_only_test WAVES=0 COV=0 SEED=26216
On this commit:
https://github.com/marnovandermaas/ibex/commit/6a309647723ec763ce304d0cc4bfa2cc4cb31d01

authors: hcallahan-lowrisc marnovandermaas

repo: lowRISC/ibex

license_source: bigquery


text:
[DV] Continue argument parsing

In case one of the arguments is '-h' the parsing of the arguments is
aborted and only PrintHelp() of verilator_sim_ctrl.cc is executed.
Do not abort at this point in order to forward the arguments to the
registered extensions. This allows to execute the respective
PrintHelp() function and print the help message. For example
VerilatorMemUtil needs to parse the arguments in order to print the
help message.
The execution of the simulation is still terminated as exit_app is set
and then evaluated after parsing of the registered extensions.

Yes, the splitting is not ideal, I was thinking about creating a buffer to collect all messages and then do the printing in the end, but that seemed too much trouble :)


text:
[flash_ctrl] RMA Questions

I have a few open questions on the RMA Functionality of the Flash Controller
Firstly, on the whole it seems to operate as expected.  Once RMA is entered, the Flash is Erased and then overwritten (as viewed in the waves, and our test for this feature.  This is good news.
Question 1 - DUT Status after RMA Request
Spec says: -
"Unlike the seed phase, after the RMA phase, the flash controller does not grant
control back to software as the system is expected to reboot after an RMA
attempt."
Testplan Says: -
Perform RMA entry request and check afterwards that software has no granted access.
I have observed that after the RMA has completed and  acknowledged, MOST of the Flash Ctrl registers ARE available (can be read at least), there are only access issues when accessing the CONTROL Register and the FIFO locations.
I thought I would try this to see what happened.  So what is meant by the spec is that after RMA the 'Flash Contents' are not granted to Software' .. just to confirm?
If I attempt to program the CONTROL register after RMA I get a TestBench error.
Probaby a question for the Veification Guys:-
The current TB (mostly inherited), using the TL code, etc), when I try to access the CONTROL register I get a bus access error, which is fine, except that I don't want the test to fail immediately, I want to check the error that has occured.  The autofail mechanism seems inbuilt, I was wondering if there was anyway of turning this off temporarily via the test?
I have also seen errors from the scoreboard after reset (after RMA and attempted access), in that the scoreboard has an outstanding transaction pending that was never sent by the DUT due to the access restriction.
I am trying out a few ideas of my own, but was wondering if anyone else knew of this?

I have a few open questions on the RMA Functionality of the Flash Controller
Firstly, on the whole it seems to operate as expected. Once RMA is entered, the Flash is Erased and then overwritten (as viewed in the waves, and our test for this feature. This is good news.
Question 1 - DUT Status after RMA Request
Spec says: - "Unlike the seed phase, after the RMA phase, the flash controller does not grant control back to software as the system is expected to reboot after an RMA attempt."
Testplan Says: - Perform RMA entry request and check afterwards that software has no granted access.
I have observed that after the RMA has completed and acknowledged, MOST of the Flash Ctrl registers ARE available (can be read at least), there are only access issues when accessing the CONTROL Register and the FIFO locations.
I thought I would try this to see what happened. So what is meant by the spec is that after RMA the 'Flash Contents' are not granted to Software' .. just to confirm?

Thank you for bringing this point up. The part about the system no longer being accessible is actually not accomplished by the flash. When doing an RMA transition, the system sequence is as follows:
lc_ctrl -> flash_ctrl -> otp_ctrl.
So the life cycle controller makes the request, the flash controller wipes the contents and finally the otp controller does the RMA transition.  Once the transition is made, the life cycle controller renders the system inoperable.  However the flash controller itself does not do anything at the moment.  Let me enhance this to at least make the flash memory inaccessible so there is something you can test against.

If I attempt to program the CONTROL register after RMA I get a TestBench error.

actually i am somewhat surprised you're even getting an error when accessing CONTROL.  Can you push whatever you have so I can run it and examine?

Probaby a question for the Veification Guys:-
The current TB (mostly inherited), using the TL code, etc), when I try to access the CONTROL register I get a bus access error, which is fine, except that I don't want the test to fail immediately, I want to check the error that has occured. The autofail mechanism seems inbuilt, I was wondering if there was anyway of turning this off temporarily via the test?
I have also seen errors from the scoreboard after reset (after RMA and attempted access), in that the scoreboard has an outstanding transaction pending that was never sent by the DUT due to the access restriction.
I am trying out a few ideas of my own, but was wondering if anyone else knew of this?

Hi Tim
Thanks for the reply.
I have checked in a version of my test repositry
The reposirty branch is
https://github.com/TimEwins/opentitan/tree/host_crl_hw_if2
What this test does is
Reset
Intitialise
Erase
Program (data1)
Read (data1)
RMA Request
Check SW has no access to the Flash (CONTROL Reg)
Reset
Read (data2) .. compare data2 != data1
What happens after the RMA Request is completed, is that I program ADDR, and then the CONTROL register. I then poll/wait for completion.  This times out (assumed this means no access granted).  I trap this event, but then after reset I get an error (from the TL Driver) saying that there is an outstanding transaction (i.e I requested something, but it didn't happen)
This is kind of what I expected.
In advance of any potential RTL changes, just clearing down that Driver issue would fix this.
The command to run is
./util/dvsim/dvsim.py hw/ip/flash_ctrl/dv/flash_ctrl_sim_cfg.hjson -i host_ctrl_hw_if --tool xcelium -v h --fixed-seed 1 --max-parallel 1 --purge --verbosity m
The test takes about 12 mins to run
The output to console is
UVM_INFO @ 687926867 ps: (host_ctrl_hw_if_vseq.sv:146) uvm_test_top.env.virtual_sequencer [uvm_test_top.env.virtual_sequencer.host_ctrl_hw_if_vseq] RMA REQUEST
UVM_INFO @ 687926867 ps: (flash_ctrl_base_vseq.sv:638) uvm_test_top.env.virtual_sequencer [uvm_test_top.env.virtual_sequencer.host_ctrl_hw_if_vseq] RMA Request Start
UVM_INFO @ 687926867 ps: (flash_ctrl_base_vseq.sv:639) uvm_test_top.env.virtual_sequencer [uvm_test_top.env.virtual_sequencer.host_ctrl_hw_if_vseq] RMA Seed : 0x037a7efc
UVM_INFO @ 104307373407 ps: (flash_ctrl_base_vseq.sv:653) uvm_test_top.env.virtual_sequencer [uvm_test_top.env.virtual_sequencer.host_ctrl_hw_if_vseq] RMA Request Complete
UVM_INFO @ 104308373407 ps: (host_ctrl_hw_if_vseq.sv:325) uvm_test_top.env.virtual_sequencer [DEBUG] --> Attempting to READ Flash
UVM_INFO @ 104308495847 ps: (flash_ctrl_base_vseq.sv:693) uvm_test_top.env.virtual_sequencer [DEBUG] --> POLLING ...
UVM_INFO @ 104308495847 ps: (flash_ctrl_base_vseq.sv:701) uvm_test_top.env.virtual_sequencer [DEBUG] --> STARTING TIMEOUT
UVM_INFO @ 114308495847 ps: (flash_ctrl_base_vseq.sv:703) uvm_test_top.env.virtual_sequencer [DEBUG] --> Timeout Occurred, Expected
UVM_INFO @ 114308495847 ps: (host_ctrl_hw_if_vseq.sv:340) uvm_test_top.env.virtual_sequencer [DEBUG] --> Timeout Seen - Flash Not Accessible By Software, Expected, PASS
UVM_INFO @ 114309495847 ps: (host_ctrl_hw_if_vseq.sv:167) uvm_test_top.env.virtual_sequencer [uvm_test_top.env.virtual_sequencer.host_ctrl_hw_if_vseq] RESET
UVM_ERROR @ 114310028079 ps: (tl_host_driver.sv:64) [uvm_test_top.env.m_tl_agent_flash_ctrl_core_reg_block.driver] Check failed cfg.a_source_pend_q.size() == 0 (1 [0x1] vs 0 [0x0])
UVM_INFO @ 114310028079 ps: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]

@TimEwins i'll take a look at the test, but it sounds like what you're pointing out is a DV driver issue correct..?

@weicaiyang pointed out the transaction timeout is because a csr transaction is immediately issued after calling apply_reset. He suggested we switch to dut_init since it has built in delays. I'm trying that now, will report back later. So far the behavior here seems consistent.
One thing I'm not sure how we're going to check.. the rma process randomly programs each word and verifies it. If there was a hardware bug there (ie we don't actually program, or we don't actually read), this higher level testing won't check it. Need to think a bit about how to check it, may need to add an SVA instead.

hmm.. @weicaiyang it seems like even with the extra delay it's still failing. I need to have a closer look to make sure I put it in the right place.  Will get back to this later.

hmm.. @weicaiyang it seems like even with the extra delay it's still failing. I need to have a closer look to make sure I put it in the right place. Will get back to this later.

LMK if you want me to take a look as well.

@tjaychen "DV driver issue" it did look that way, but I will investigate your suggestion about the reset today

@tjaychen
"One thing I'm not sure how we're going to check.. the rma process randomly programs each word and verifies it. If there was a hardware bug there (ie we don't actually program, or we don't actually read), this higher level testing won't check it. Need to think a bit about how to check it, may need to add an SVA instead"
The way I am doing this is as follows ...
// Initialise
// Loop {
//   Erase Partitions(#)
//   Program Partitions(#)
//   Read Partitions(#) (Check Read == Written)
//  DO RMA REQUEST (Flash is Erased, and programmed with 'random' data.
//   Check Software has NO Access to the FLASH (not able to read flash)
//   Reset DUT
//   Initialise (again)
//   Read Partitions# (Check Read !== Written Previously - Data MISMATCH Expected
//     (additionally check Data Read is not all 1's, i.e Erased but not overwritten
// }
// #(Creator, Owner, Isolation, Data0, Data1)
There is a 'possibility' of a match in the last compare, as a value of '1 and/or a match is theoretically possible (but very unlikely), so I have added a threshold to the pass (small)
Ideally, but probably over the top is to compare the RMA wiped values with the scrambled data, using the seed to the algorithm to calculate what would be expected.  I think this maybe too much ?
Perhaps an SVA would be appropriate here to help prove the inner FSM is doing the right thing?

yeah i think SVA is probably the better approach, I will look into adding it.

@tjaychen @weicaiyang @rswarbrick
Hi .. I changed my test to use 'dut_init' rather than 'apply_reset' and I too see the same issue.
I think basically that at hard rest, the transaction queues need to be cleared.  This would stop this error from happening.
I have also tried adding delay, moving operations around and even setting CONTROL.START back to 0 after the timeout, but I keep getting the same error message.
UVM_ERROR @ 114311150519 ps: (tl_host_driver.sv:64) [uvm_test_top.env.m_tl_agent_flash_ctrl_core_reg_block.driver] Check failed cfg.a_source_pend_q.size() == 0 (1 [0x1] vs 0 [0x0])
UVM_INFO @ 114311150519 ps: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
Which I believe is a mismatch between transactions in and out of the driver/scoreboard?
@rswarbrick Are you suggesting this is a known issue, or just for reference?
As this issue is stalling the completion of this test, and there is a real need to press on with other tests, I intend to checkin what I have so far, and then we will have to revisit this when resolved.

@TimEwins do you have any idea where the queue item is coming from? When I looked at this (admittedly a couple of days ago) it looked like before the reset pulse, all the tlul transactions were complete (as far as I could tell).
In fact, there was a small time gap between the last tlul transaction and the last reset pulse, so I'm not sure where it's coming from.  Is there any way for you to dump out which transactions it thinks is still "pending"?

Hi Tim
I think the issue (if it is an issue) is within the Verification domain (in the TL driver code somewhere)
The last write to the flash before the error was to the control register, the transaction times out, status is not returned in a sufficient time (which is expected as the RMA has just happened), I then RESET the TB and DUT.  But for some reason (?) when the TB and DUT come out of reset, it thinks there is a miissing transaction somewhere.
the 'error' is coming from tl_host_driver.sv (line 654) ... which is checking that the queue cfg.a_source_pend_q.size() =0, but its a '1'.
If this queue were cleared by reset, then the flag would not raise.
I think this is the behaviour here, but perhaps its like that for a reason ?
I am obviously happy to try other methods

@TimEwins do you see this timed out transaction in the waves though?
Because when i looked, there was no pending a_valid directed at flash_ctrl.  All the transactions that went to flash_ctrl had been acknowledged, that's why I find it odd.

@tjaychen Thanks .. I will take another look

the 'error' is coming from tl_host_driver.sv (line 654) ... which is checking that the queue cfg.a_source_pend_q.size() =0, but its a '1'.

This may be because you kill the sequence when a CSR access is ongoing, which causes a deadlock in RAL and we can never issue a new access to this CSR. Also a pending source ID is stuck at the cfg.a_source_pend_q.
I check your branch and find below codes that you kill the CSR access, which may cause the UVM_ERROR.
    fork

      begin  // Poll Status Bit
        `uvm_info("DEBUG", "--> POLLING ...", UVM_LOW)
        while (status == 0) begin
          csr_rd(.ptr(ral.op_status), .value(data));
         status = get_field_val(ral.op_status.done, data);
        end
      end

      begin  // Timeout - Expected
        `uvm_info("DEBUG", "--> STARTING TIMEOUT", UVM_LOW)
        #(timeout_ns);
        `uvm_info("DEBUG", "--> Timeout Occurred, Expected", UVM_LOW)
        status = 1;
      end

    join_any
    disable fork;

you can change join_any to join and remove disable fork, so that once the timeout thread is done, the polling loop will be exited gracefully as status is set to 1.

@weicaiyang that's what i was originally thinking too. But I don't see another tlul transaction triggered to flash while the reset occurs.
Are you saying it's possible for the transaction to have been registered in DV but not yet shown up in waves?

I see the point you are making ..... graceful exit ... yes, its not the write to fifo that is locking up, its the polling of the status .. I'll try this solution .... unless anything else gets added here in the meantime

@weicaiyang that's what i was originally thinking too. But I don't see another tlul transaction triggered to flash while the reset occurs.
Are you saying it's possible for the transaction to have been registered in DV but not yet shown up in waves?

This problem won't be shown in the waves as DUT and driver process correctly.
It's just the sequence that gets stuck.
A CSR read sequence looks like this.
// CIP base saves the source ID
cfg.a_source_pend_q.push_back(source_id);

// UVM RAL side
semaphore.get(); // lock the seq
do_read(); // send item to driver and wait for rsp
semaphore.put(); // unlock the seq

// CIP base
cfg.a_source_pend_q.delete(id); // delete the completed source id

If we kill the seq in the middle of do_read, RAL is in deadlock, and a_source_pend_q has a ID that won't be removed.

sounds good, thanks for explaining @weicaiyang

@TimEwins just wanted to check-in to see if there's anything gated on me for this issue?

sounds good. I just wanted to make sure you were not waiting on something.
On Wed, Feb 2, 2022 at 9:52 AM TimEwins @.***> wrote:

@tjaychen https://github.com/tjaychen I don't think so Tim, I have a PR
candidate scheduled for checkin .. but I have been working on the other PR
#10513 https://github.com/lowRISC/opentitan/pull/10513 today.
—
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/10343#issuecomment-1028200355,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSSKNPHPAOKWQZ2OLNTUZFVNLANCNFSM5MY7LVQQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Leaving this open until I do the PR for the RMA Tests.

We can close this Issue now

authors: TimEwins tjaychen weicaiyang

repo: lowRISC/opentitan


text:
Replace libncurses5 with libncursesw5 in apt-requirements.txt

Note that libncursesw != libncurses. I ran into the missing lib when trying to run riscv32-unknown-elf-gdb.
It appears we only need libncursesw for the riscv toolchain.
% ldd  /tools/riscv/bin/* | grep ncurses
        not a dynamic executable
        not a dynamic executable
        libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f9cd53a5000)
        not a dynamic executable
        not a dynamic executable
        not a dynamic executable
        not a dynamic executable

Signed-off-by: Dan McArdle dmcardle@google.com

Ping :)


text:
[dv] Remove duplicated keys from common_sim_cfg.hjson

These are also defined in common_project_cfg.hjson and setting them
here makes it harder to vendor this file into a different project.

Committing without the FPGA build test. This patch shouldn't affect that, and the FPGA build has been queued for 16 hours at the moment (probably fallout from the brief power outage at lowRISC HQ yesterday).


text:
[top/rbox] Instantiate rbox in top-level

This instantiates and the sysrst_ctrl in the top level and fixes a couple of discrepancies that lead to simulation and topgen errors during integration.
Note that this PR needs the new topgen features for pinout and pinmux configuration, and is therefore dependent on #5793 which has not been merged yet. This PR therefore looks much bigger than it actually is.
Please only look at the last two commits in this PR. The other commits will be rebased away.

this lgtm. As for the private CI failure, the usbdev needs an exclusion on activating the wake features.
i'll push as separate PR for that if it's not already done by someone else.

authors: msfschaffner tjaychen


text:
missed frames in on-the-fly align

on the fly align works but neglects the fact that certain frames are deleted in the initial stack registration of the drift... so need to apply filter to not load certain images if they do not meet the original brightness criteria

fixed

repo: lowe-lab-ucl/segment-classify-track


text:
Network bandwidth for actor update limit

Is there a rough/precise calculation of computer network bandwidth limit before it becomes a bottleneck? For example how many actors can one learner support before computer network bottlenecks? (i.e. 70mb neural network weights)
Is there any machine level caching involved if multiple actors are on the same machine? (no reason for all of them to pull same weights at the same time)

Hi @dulex123, a calculation of the required bandwidth is hard, as the time cost involves many factors, see the discussion in the original scalable_agent code here:
https://github.com/deepmind/scalable_agent/issues/14
But we can identify how many actors (each a CPU machine deployed remotely) are "saturated" for a single learner experimentally. According to my previsous test over PongNoFrameskip-v4 (wrapped as is in atari_env.py), when adopting the ResNet-LSTM net described in the paper with bath_size=32, unroll_length=100, the maximum number of actors that a learner can "carry" is around 60, when the training throughput  is around 6K (or x4 = 24K env frames by counting the skip-frame=4).  Adding more actors than 60 would not further increase the throughput.
Will update the numbers and tables in the README later.

Thanks! That is very helpful.
And what about the actors that reside on the same machine? Could they benefit from a weights caching mechanism? So that the learner does not send weight to each process separately but to each machine. That may reduce network traffic considerably

Hi @dulex123, I am actually not sure of that...
On the one hand, the code relies on distributed tensorflow to communicate between actor-learner. I guess the distributed tensorflow (relying on gRPC) could detect whether the two processes reside on the same machine and implement a fast sending/receiving if they do.
On the other hand, when using hundreds of actors, I guess benefit of doing so is negligible.

The corresponding note has been added here:
https://github.com/loyave/impala_horovod_gym/blob/dev-horovod/sandbox/speed.md

@pengsun Yes but if you use 120 actors in total on three machines (40 actors per machine) and a single machine with a gpu for learner, than you can gain considerable throughput.
Thank you for the performance table!
Also would you mind sharing what cloud platform you use to scale training?
Cheers

Hi @dulex123, unfortunately it's a private service in our company...
But basically the rationale and the settings should be the same for any other public available cloud like EC2/Azure/Google.

Thanks !


text:
[Exam] Add submitted flag to scores CSV

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I implemented the changes with a good performance and prevented too many database calls

Description

[x] Server: I've added the submitted flag from  the studentExam to the ExamScoresDTO
[x] Client: I've ensured that the submitted flag will be part of the export CSV file

Steps for Testing

Log in to Artemis
Navigate to Course Administration
Navigate to Exams -> Scores of an exam that has assessed results
Click "Export to CSV"
Ensure that the submitted flag is part of the exported CSV and that everything else is still exported correctly

Example CSV export
Name,Login,E-Mail,Matriculation Number,Text exercise 1 Assigned Exercise,Text exercise 1 Achieved Points,Text exercise 1 Achieved Score (%),Text exercise 2 Assigned Exercise,Text exercise 2 Achieved Points,Text exercise 2 Achieved Score (%),Text exercise 3 Assigned Exercise,Text exercise 3 Achieved Points,Text exercise 3 Achieved Score (%),Text exercise 4 Assigned Exercise,Text exercise 4 Achieved Points,Text exercise 4 Achieved Score (%),Text exercise 5 Assigned Exercise,Text exercise 5 Achieved Points,Text exercise 5 Achieved Score (%),Text exercise 6 Assigned Exercise,Text exercise 6 Achieved Points,Text exercise 6 Achieved Score (%),Text exercise 7 Assigned Exercise,Text exercise 7 Achieved Points,Text exercise 7 Achieved Score (%),Overall Points,Overall Score (%),Submitted
"Sascha Beele","ga83wuv","sascha.beele@tum.de","","Text exercise 1",4.4,88,"Text exercise 2",1.5,21,"Text exercise 3",1,33,"Text exercise 4",3,50,"Text exercise 5",1.4,28,"Text exercise 6",0.3,15,"Text exercise 7",4.3,61,15.9,45.43,"yes"

@TobiasPr @sjagla27 I've applied @krusche's feedback here: https://github.com/ls1intum/Artemis/pull/1982#discussion_r461749679. Could you re-check?

Thanks @tiffca 👍 I was too fast ;-)


text:
Account for newly-added entry in the rows of _assetmanifest files

I've found that the extractor is failing when it tries to assign a specific entry from any asset manifest's rows to a size variable. This worked fine in the past, but a recent update to Priconne's manifest row format added a new entry before that of the byte size, causing the extractor to throw the following error:

I've added a new allocation to the manifest scripts (the \src\manifests\ ones that assign each row's entries to something else). I've dubbed the entry "evertutocom" since the _assetmanifest files either use 'every', 'tutorial0/1', or 'common', but it could really be anything you want.

So sad i saw this after fixing it myself but thanks

repo: lskyset/priconne-asset-extractor


text:
🛑 SoHard Cloud is down

In 1539c35, SoHard Cloud (http://cloud.lsy223622.com) was down:

HTTP code: 502
Response time: 1331 ms

Resolved: SoHard Cloud is back up in 3a8eae6.


text:
🛑 Mirror-爬 is down

In 929465a, Mirror-爬 (https://ncov.zhouym.tech/) was down:

HTTP code: 404
Response time: 933 ms

Resolved: Mirror-鱼露 is back up in a6b8ad8.


text:
🛑 Mirror-爬 is down

In 2d8c29b, Mirror-爬 (https://ncov.zhouym.tech/) was down:

HTTP code: 404
Response time: 1253 ms

Resolved: Mirror-鱼露 is back up in e27f3c4.


text:
🛑 Mirror-爬 is down

In 66020de, Mirror-爬 (https://ncov.zhouym.tech/) was down:

HTTP code: 404
Response time: 713 ms

Resolved: Mirror-鱼露 is back up in 7c32ed9.


text:
🛑 Mirror-爬 is down

In e2b76c3, Mirror-爬 (https://ncov.zhouym.tech/) was down:

HTTP code: 404
Response time: 666 ms

Resolved: Mirror-鱼露 is back up in bd838a8.


text:
add mongodb container in docker-compose

#7

Hey @feildrixliemdra! I have added a comment on the linked issue regarding this PR. The scope of the linked issue is a lot broader. Adding docker-compose for Mongo isn't yet sufficient since MongoDB is not yet supported by R2-D2.

authors: feildrixliemdra ghostwriternr


text:
🛑 Afip is down

In 259f7c5, Afip (https://www.afip.gob.ar/landing/default.asp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Afip is back up in 80874bd after 1 hour, 40 minutes.


text:
🛑 Školský šport is down

In d58c6a9, Školský šport (https://skolskysport.sk/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Školský šport is back up in c211295 after 5 minutes.

repo: lubosm/minedusk-uptime


text:
Public API verry soon available

good news guys, just got information that risco wil launch soon a public API for developers, they will inform me next week about ETA
seems they also finished integration with amazon alexa already, probably launching verry soon

That's great news !
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Friday, July 12, 2019 11:16:19 AM
To: lucacalcaterra/risco-mqtt-bridge
Cc: Subscribed
Subject: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
good news guys, just got information that risco wil launch soon a public API for developers, they will inform me next week about ETA
seems they also finished integration with amazon alexa already, probably launching verry soon
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUE37FSQDH6XRGVDHFLP7BKXHA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G627QKA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALCGLUDBK7SOVLKB2CAANFLP7BKXHANCNFSM4ICGQ54A.

found something already on their site now :
https://www.riscogroup.com/products/solution/7815
Integrated Systems and Software Development Kit (SDK)
The SynopSYS Integrated Security & Building Management™ SDK enables driver development and third party integration.
The platform includes a comprehensive and flexible integrator toolbox for building professional synoptic maps and interactive buttons and allows full and immediate reaction to events. Device state logic and behavior (icon color, size, button appearance etc) can be easily customized. SynopSYS Integrated Security & Building Management™ allows full flexibility, tailoring a solution to requirements that may arise from specific project needs without the need to approach the vendor for special software development and adaptation. If needed, the System Integrator can even define onsite a unique behavior and scenario for specific devices according to Security Directors’ requests. This cost-effective solution shortens the implementation cycle of the project.

Do we think then we can just access it locally instead of via the cloud......?
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Friday, July 12, 2019 11:52:33 AM
To: lucacalcaterra/risco-mqtt-bridge
Cc: rob1981forest; Comment
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
found something already on their site now :
https://www.riscogroup.com/products/solution/7815
Integrated Systems and Software Development Kit (SDK)
The SynopSYS Integrated Security & Building Management™ SDK enables driver development and third party integration.
The platform includes a comprehensive and flexible integrator toolbox for building professional synoptic maps and interactive buttons and allows full and immediate reaction to events. Device state logic and behavior (icon color, size, button appearance etc) can be easily customized. SynopSYS Integrated Security & Building Management™ allows full flexibility, tailoring a solution to requirements that may arise from specific project needs without the need to approach the vendor for special software development and adaptation. If needed, the System Integrator can even define onsite a unique behavior and scenario for specific devices according to Security Directors’ requests. This cost-effective solution shortens the implementation cycle of the project.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUDYOKABRHSMULCX3DTP7BO7DA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZZNTAI#issuecomment-510843265, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALCGLUBNBGWNYZMX5ELDOYLP7BO7DANCNFSM4ICGQ54A.

think it will be still a cloud api, but programming/devloping/intergrating will be much easier then
also , now, if risco decides to change something on their website now, the tool that we are using now, will stop working too
also , now we are using poll method, then it will be probaly push method

btw, i am now using (as test) the Home Assiant addon - Risco, working also verry well
much easier for us to integrate in Home Assistant :)

new email from risco :
I’m was talking about a cloud public API for integration with other products. This will give you basically the options that you have in the mobile application through an API.

Good news.. I've already  developed one Alexa skill and Google home action, would be useful if Risco implement them on their system.
Thanks for the news

Any news about this ?

normally by end of year
at this moment they are validating my request for internal API access, if it gets approved, normally this month , i let you know

Hello,
@pergolafabio did you get news about your internal API access request?

Last feedback 2 weeks ago, should be released by end of the year

Hi,
i have just released a node-risco-client in Node.js
I have sniffed traffico from mobile app, and i have replicated api call to backend in my client.
This may be useful if anyone would implement something until the Public API will be available.

cool, is this based on push or pull ?

Hi,
i have just released a node-risco-client in Node.js
I have sniffed traffic from a mobile app, and i have replicated api call to backend in my client.
This may be useful if anyone would implement something until the Public API will be available.

There are more useful function in addiction to my project ?

I have used your project, and i have found that sometimes alarm motion sensor doesn't trigger a real movement. In the Android app instead it works really well. I have though this behaviour  is caused by Web Risco Cloud API used by risco-mqtt-bridge.

@mancioshell Thanks ! Very useful... so i can integrate your calls in nodejs with my project ? I'll study it

What about the state, so if armed from a hardware panel, can you see the state instant changing ? That's my only issue now, the state delay for like 3 minutes...

What about the state, so if armed from a hardware panel, can you see the state instant changing ? That's my only issue now, the state delay for like 3 minutes...

node-risco-client is only a client in which you can get the alarm state and the sensors states in a particular moment.
You can use node-risco-client to develop an application, or anything you want, that poll the alarm state every prefix time to get the actual value.

@mancioshell Thanks ! Very useful... so i can integrate your calls in nodejs with my project ? I'll study it

Sure. If you want to integrate my client it would be awesome :)

@mancioshell    I took  a look. Probably i can adapt my api urls with yours  without change too much code

@mancioshell we must offer you a beer :-) I tested it and ...@pergolafabio with these integrations you'll have status change of alarm panel in realtime ( or near...) .. :-)
I must find time to use the API calls used by mancioshell...

Aha, that's verry good news!!!!!!

I wish I knew what to do here but I don't !!!!
So given what has been said if @lucacalcaterra/risco-mqtt-bridgemailto:risco-mqtt-bridge@noreply.github.com updates things a little we may be able to use risco PIR sensor to trigger lights in Home Assistant ?
Keep up the good work guys !!
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Wednesday, October 16, 2019 5:48:18 AM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Comment comment@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
Aha, that's verry good news!!!!!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUGDVAUGKVBEPAWT3WDQO2MJFA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBLBJSY#issuecomment-542512331, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUDHGHIBRFY6CUN6BP3QO2MJFANCNFSM4ICGQ54A.

i think its still based on poll interval , not sure though
polling every second is not a good idea anyway
anyway, by end october i know normally an estimated time for launch of public api
fingers crossed

@mancioshell  do you also work with Home Assistant? or is it maybe possible to convert your code to python? so we can use it directly in home assistant?, no need then for a docker/mqtt
@rob1981forest  how do you make the sensors visible in home assistant? do you make seperate mqtt sensors for that manually?

@pergolafabio - i got my sensors into home assistant tonight so i could trigger a light to turn on by them.......however as the code is not polling frequently enough you do miss events so it could take the sensor a few times of registering movement before triggering the action
just add this to your config.yaml and change the risco detector number (mine is 13). you can then make automations of the sensor state being 'triggered' or 'idle'
Sensor
- platform: mqtt
name: landing_pir_triggered
state_topic: "riscopanel/dects/13"
value_template: >
{% if value_json is defined and value_json.filter == 'triggered' %}
triggered
{% else %}
idle
{% endif %}

Cool , thnx for sharing, let's hope code will be better, and let's hope that the API will be push method, then we can actually use it as a sensor

btw, are these events in the polling interval ? so for example every 10 sec , it will refresh : riscopanel/dects/   ?
@lucacalcaterra can you also add : riscopanel/eventhistory/lastevent  in the polling interval? i dont it is at the moment....? seems that event is always reliable and also changed, so that gives a better state of the panel itself, then there is also no delay in my further automations

I'd say 10 seconds does seem about right but as I say if your detection event doesn't happen on one of the polling intervals the mqtt topic won't publish.......so it's not really usable but as you say if it goes to a push method then would be good
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Saturday, October 19, 2019 8:24:42 AM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
btw, are these events in the polling interval ? so for example every 10 sec , it will refresh : riscopanel/dects/ ?
@lucacalcaterrahttps://github.com/lucacalcaterra can you also add : riscopanel/eventhistory/lastevent in the polling interval? i dont it is at the moment....? seems that event is always reliable and also changed, so that gives a better state of the panel itself, then there is also no delay in my further automations
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUCMSYM34U6AC7KYFBDQPKY3VA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBXHOBY#issuecomment-544110343, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUFMNVNDUF6HF4MTDP3QPKY3VANCNFSM4ICGQ54A.

i was just testing the detectors, logged in on riscocloud.com and also my irisco app was open, when i walk before a detector, i dont see the state changing immediately, only after like 30 seconds or something, or not at all sometimes... when you walk before it, do you see those changing immediately ?

Yeah just tested that and same as you......I didn't actually check this out before.....
Maybe I'm wrong then and it's the cloud thing.
I know locally when I use the CS software you see the icon of the detector change straight away but we are never going to get local access !
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Saturday, October 19, 2019 9:17:13 AM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
i was just testing the detectors, logged in on riscocloud.com and also my irisco app was open, when i walk before a detector, i dont see the state changing immediately, only after like 30 seconds or something, or not at all sometimes... when you walk before it, do you see those changing immediately ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUC3GPBZERKO7HDNRBLQPK7ATA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBXINHY#issuecomment-544114335, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUFI66BU3NA4AVHHLODQPK7ATANCNFSM4ICGQ54A.

Yeah, it's useless then...
Local access, should be possible though, Wireshark should help, but I never checked it

Btw, you also have an installer account then, you manage your own panel since you can use the CS software?

indeed, checked CS software, and those detectors are changing immedialety...
strange that you can see it there, since CS software also uses cloud connection when i connect to panel

No my panel is still with my alarm company account but we fell out and I no longer use them but think if I move it to my own installer account id have to pay somehow. Other risco companies charge £10 a month for cloud services around here so I'm getting lucky I think.
As risco don't deal with the public I don't want to change things too much in case I have to find a new alarm company to connect me into the cloud.
One day I decided to fill out an installer account request and it got granted ! No idea how and I do nothing with it but was good to have a look around.
I have the engineers code so I just swap battieres and maintain it myself.
It's old firmware and I'd love to update it but you need a code from risco to do it so I'm stuck really.
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Saturday, October 19, 2019 9:30:27 AM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
indeed, checked CS software, and those detectors are changing immedialety...
strange that you can see it there, since CS software also uses cloud connection when i connect to panel
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUE436BCLYZQHEWVSH3QPLASHA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBXIWNY#issuecomment-544115511, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUB4QPSMF4EKMDHZZHTQPLASHANCNFSM4ICGQ54A.

no no! you dont have to pay for a local admin account
my panel was also linked before with a alarm company, a few months later i decided to also connect cameras to my alarm panel.... but to configure cameras, you NEED an installer account, this is not possible with a code, this needs to be done on the installer portal
so only alarm compnanys can configure the cameras, but then they can also watch in your house, thats was one of the reasons i wanted my onw installer account...
second reason, i dont have the original risco cameras, they suck :) , i have my onw onvif cameras, also attached to my synology... i change a lot in my house , so if an IP was changed ot whatever password on my camera, then i need to call the alarm company, offcourse they are gonna charge you for the services
so i called risco, just asked gently to remove my panel ID from the alarm company, no problem, they do it without asking why... i just explained the reasons and it was done in 1 hour
panen removed, just created an installer account, added the ID back , done!!  verry easy process.
but still, how do you connect with CS to your panel? do you use a serial cable? because if you use cloud to connect to CS, then you need to have  a installer account

Thanks, interesting to know......I tried to add my panel to my installer account and it did say it was already registered to another installer.
My CS software has stopped connecting for about 6 months or so via cloud and also when I configure it to connect via local IP......not sure why but I don't really have a need to get in so not really looked too much into it.
Maybe I should get my panel into my own installer account......I did think one day they may take my installer account off me as I'm not actually an installer. !!
So can you connect any onvif camera to the risco cloud ?
I have a history of messing with things to try and make them better and then making them worse !!
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Saturday, October 19, 2019 11:51:40 AM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
no no! you dont have to pay for a local admin account
my panel was also linked before with a alarm company, a few months later i decided to also connect cameras to my alarm panel.... but to configure cameras, you NEED an installer account, this is not possible with a code, this needs to be done on the installer portal
so only alarm compnanys can configure the cameras, but then they can also watch in your house, thats was one of the reasons i wanted my onw installer account...
second reason, i dont have the original risco cameras, they suck :) , i have my onw onvif cameras, also attached to my synology... i change a lot in my house , so if an IP was changed ot whatever password on my camera, then i need to call the alarm company, offcourse they are gonna charge you for the services
so i called risco, just asked gently to remove my panel ID from the alarm company, no problem, they do it without asking why... i just explained the reasons and it was done in 1 hour
panen removed, just created an installer account, added the ID back , done!! verry easy process.
but still, how do you connect with CS to your panel? do you use a serial cable? because if you use cloud to connect to CS, then you need to have a installer account
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUEVBYDBYWEGWQBLHVLQPLRDZA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBXLV7I#issuecomment-544127741, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUBBW2YPX7UIKARZZVTQPLRDZANCNFSM4ICGQ54A.

yes, when you create an installer account on your onw, then its not possible to register your panel
you first need to call Risco, ask to remove the ID from your panel, they need todo it, its your system
you can also say , thay you are not happy with your company, and you want to manage it by yourself...
indeed, risco changed the system to use CS software, now in the CS software you need to also input the installer account, thats why you cant use it anymore, only installers can use it now
and yes, you can add any camera to your system , onvif/rtsp is supported, i have those cheap foscam cameras in my house, the C1 Models, verry cheap and working quite good for the price
but, to activate it in risco, you need to buy a one time license , its a one time cost to add an onvif camera to risco cloud, its like 55€
difference between a risco camera, is they you dont need the extra cost, but the risco cameras are much more expensive, more then 55€ :-)
second difference, with onvif cameras, you cant capture video when alarm goes of, you can only take snapshots... but i dont care anyway, i use my synology surveillance system for that
you can but those licenses online in some webshops:
https://www.pahedomotica.nl/product/non-risco-myelas-camera-licentie-onvif/

Thanks a lot for the Info.......do you update the panel firmware then also ?
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Saturday, October 19, 2019 12:21:53 PM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
yes, when you create an installer account on your onw, then its not possible to register your panel
you first need to call Risco, ask to remove the ID from your panel, they need todo it, its your system
you can also say , thay you are not happy with your company, and you want to manage it by yourself...
indeed, risco changed the system to use CS software, now in the CS software you need to also input the installer account, thats why you cant use it anymore, only installers can use it now
and yes, you can add any camera to your system , onvif/rtsp is supported, i have those cheap foscam cameras in my house, the C1 Models, verry cheap and working quite good for the price
but, to activate it in risco, you need to buy a one time license , its a one time cost to add an onvif camera to risco cloud, its like 55€
difference between a risco camera, is they you dont need the extra cost, but the risco cameras are much more expensive, more then 55€ :-)
second difference, with onvif cameras, you cant capture video when alarm goes of, you can only take snapshots... but i dont care anyway, i use my synology surveillance system for that
you can but those licenses online in some webshops:
https://www.pahedomotica.nl/product/non-risco-myelas-camera-licentie-onvif/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUD5BWE3ZDAQM6Y5KZTQPLUVDA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBXMSXQ#issuecomment-544131422, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUCSSSRGQJEV3JTARS3QPLUVDANCNFSM4ICGQ54A.

No, I have an verry old firmware... It works...
I don't have access to Risco to download firmwar d files , I do think you need to be Risco certified partner for that ;)
But I have a local alarm company, they do the maintenance for my system, then check my sensors for fire and stuff, when they come, I provide them access with my account ;)
Within the next visit , maybe 1 , 2 years, I'll ask if they do the firmware... Offcourse also with my account...  They don't make a problem of it..
I just paid for the service they do

@mancioshell didn't manage multiple partitions ?

Sorry for the delay of my reply. Yes i thing actual client manage only one partition. Next week i'll try to fix it. Sorry but i haven't more than one partition, so i can't test it directly.

What is the exact link to the repository? I try to add it to my config on my Hass.io installation but it does not show in the Add-on's list after adding what I thought was the right repo...

It's not an add-on, it's a docker, so you need portainer add-on , or some other docker software to run containers... Then add alarm panel manually as described in readme

One last question.....does everyone panel connect to their network at 10mbpd half duplex ?
Mine always has and I've not thought much about it but just swapped my switch for a Cisco 2960 and the interface won't come up.......used to have a bit so clever zyxel one but the Cisco won't work.....
Tried hard coding the port to 10/half and still no look........wondering if my module is faulty ?
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Saturday, October 19, 2019 12:31:56 PM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
No, I have an verry old firmware... It works...
I don't have access to Risco to download firmwar d files , I do think you need to be Risco certified partner for that ;)
But I have a local alarm company, they do the maintenance for my system, then check my sensors for fire and stuff, when they come, I provide them access with my account ;)
Within the next visit , maybe 1 , 2 years, I'll ask if they do the firmware... Offcourse also with my account... They don't make a problem of it..
I just paid for the service they do
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUEFE2OPFBXZATFXLQ3QPLV2ZA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBXM36Q#issuecomment-544132602, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUDZ4FU7QBVOLJ5I3DTQPLV2ZANCNFSM4ICGQ54A.

Yeah, it's useless then...
Local access, should be possible though, Wireshark should help, but I never checked it

Communication it's encrypted.... so ... no joy ! :-)

Yeah, it's useless then...
Local access, should be possible though, Wireshark should help, but I never checked it

Communication it's encrypted.... so ... no joy ! :-)

also on systems with older firmwares?
is it just opening wireshark and look at the IP address of the system? is that all to see whats going on ?

No the way you check for what speed it connect is from the network switch......if it's a managed one you can do this from the cli or web interface.......if it's just in your router from ISP it could be more difficult.
I managed to get it working......I neede to enable portfast (which is to do with spanning tree) and it finally came to life...
Still doesn't seem right that in this day we have things connected at 10mbps / half duplex
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Wednesday, October 23, 2019 7:29:52 AM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
Yeah, it's useless then...
Local access, should be possible though, Wireshark should help, but I never checked it
Communication it's encrypted.... so ... no joy ! :-)
also on systems with older firmwares?
is it just opening wireshark and look at the IP address of the system? is that all to see whats going on ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUDFIM4YLBVH3Z6I2TLQP7VOBA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECAHMMA#issuecomment-545289776, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUHHCYAY3O4YCSCZV3LQP7VOBANCNFSM4ICGQ54A.

ah
you need portfast on a managed switch to capture wireshark data? otherwise its not possible?

No, wireshark will capture fine either way I think but you need to make sure you mirror the port to another interface and plug in to that.......I've mirrored the port fine on my Cisco but I have no idea what to do with the data !!!
Would so good if we could just access this locally !!!
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Wednesday, October 23, 2019 7:58:10 AM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
ah
you need portfast on a managed switch to capture wireshark data? otherwise its not possible?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUGKYYXREI5FTECYTELQP7YYFA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECAJS3I#issuecomment-545298797, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUAAPH2Q7WIIXTIWS3DQP7YYFANCNFSM4ICGQ54A.

ah ok , yeah, but i dont have a managed switch :)

Slight problem !!! I can send you a capture if it means anything to you ?
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Wednesday, October 23, 2019 9:38:18 AM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
ah ok , yeah, but i dont have a managed switch :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUGZ7FNIPBC2ROYRB43QQAEPVA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECASOBI#issuecomment-545335045, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUAU2J454WUJA2BGV7LQQAEPVANCNFSM4ICGQ54A.

yes, offcourse, you have also older firmware right? i dont think there is any sensitive data in it anyway
just make a trace for only the IP of the risco

and also offcourse trigger your sensors and arm/disarm the alarm :) maybe with some timestamps also

No worries, will see what I can get you
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Wednesday, October 23, 2019 9:42:07 AM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
and also offcourse trigger your sensors and arm/disarm the alarm :) maybe with some timestamps also
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUCF6PE5MLEXDDLCEUDQQAE57A5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECASZ6I#issuecomment-545336569, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUDBVAOT6ZVFRG3BO43QQAE57ANCNFSM4ICGQ54A.

while we are waiting for api
i have found this, its a google assistant service to link a risco panel to google home , dont think its an official one, but code cna be usefull maybe?
https://github.com/pergolafabio/homekeeper/commit/64440047d6fc233cc96b6d34a010759007dc9da8
https://assistant.google.com/services/a/uid/0000008438b03079?hl=en_be

Hi All,
Any updates from Risco on the official API yet ?

nope not yet, no response anymore
probably after christmas

Ok, thanks for update
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio notifications@github.com
Sent: Saturday, December 14, 2019 1:33:09 PM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
nope not yet, no response anymore
probably after christmas
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22?email_source=notifications&email_token=ALCGLUH3TYHJ6XKLITYJNCDQYTOBLA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4CWOI#issuecomment-565717817, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUDTBFX3EWDGAEOMHX3QYTOBLANCNFSM4ICGQ54A.

@lucacalcaterra
did you already implemented the new code with Rest API from @mancioshell  in your docker?
wanted to know, s i could get a real time state, when arming/disarming from a hardware panel

I wish I knew what to do here but I don't !!!! So given what has been said if @lucacalcaterra/risco-mqtt-bridgemailto:risco-mqtt-bridge@noreply.github.com updates things a little we may be able to use risco PIR sensor to trigger lights in Home Assistant ? Keep up the good work guys !! Get Outlook for Androidhttps://aka.ms/ghei36
…
________________________________ From: pergolafabio notifications@github.com Sent: Wednesday, October 16, 2019 5:48:18 AM To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com Cc: rob1981forest rob1981forest@hotmail.com; Comment comment@noreply.github.com Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22) Aha, that's verry good news!!!!!! — You are receiving this because you commented. Reply to this email directly, view it on GitHub<#22?email_source=notifications&email_token=ALCGLUGDVAUGKVBEPAWT3WDQO2MJFA5CNFSM4ICGQ54KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBLBJSY#issuecomment-542512331>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUDHGHIBRFY6CUN6BP3QO2MJFANCNFSM4ICGQ54A.

hey!! @rob1981forest  , testing this one out !
this triggers sensors instantly!!
https://github.com/mancioshell/risco-mqtt-home-assistant

Hi all, received an email from Risco saying that cloud was being upgrade to V5.3 and this is the new features:
RISCO Cloud V5.3 will provide two main new features:
Perform manual or schedule based RRI (Remote Routine Inspection) via the Installer Cloud admin
Support of new 'Presence Zone', enabling push notifications and IP camera triggers while the system is disarmed
Do we think the RRI is their name for the API ?

Hi all, received an email from Risco saying that cloud was being upgrade to V5.3 and this is the new features:
RISCO Cloud V5.3 will provide two main new features:
Perform manual or schedule based RRI (Remote Routine Inspection) via the Installer Cloud admin
Support of new 'Presence Zone', enabling push notifications and IP camera triggers while the system is disarmed
Do we think the RRI is their name for the API ?

personally... Don't think so.. my 2cent.  ps sorry for my inactivity, but covid and works are giving me so much work :-(

No worries, yes things like this certainly aren't the important at the moment so no issues !
Sent from Outlook Mobilehttps://aka.ms/blhgte

From: Luca Calcaterra notifications@github.com
Sent: Friday, April 17, 2020 11:17:23 AM
To: lucacalcaterra/risco-mqtt-bridge risco-mqtt-bridge@noreply.github.com
Cc: rob1981forest rob1981forest@hotmail.com; Mention mention@noreply.github.com
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Public API verry soon available (#22)
Hi all, received an email from Risco saying that cloud was being upgrade to V5.3 and this is the new features:
RISCO Cloud V5.3 will provide two main new features:
Perform manual or schedule based RRI (Remote Routine Inspection) via the Installer Cloud admin
Support of new 'Presence Zone', enabling push notifications and IP camera triggers while the system is disarmed
Do we think the RRI is their name for the API ?
personally... Don't think so.. my 2cent. ps sorry for my inactivity, but covid and works are giving me so much work :-(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22#issuecomment-615166356, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALCGLUBMYVKH5XLHZNGLPB3RNAUDHANCNFSM4ICGQ54A.

Public api is not part of 5.3 yet, I got that already confirmed, it's for 5.4 probably, this summer

Any progress here, if I may ask?

Planned for January...
Allthough an PR is now in progress for official component for HA ... No extra docker/mqtt needed anymore

you mean there will be a plugin for hassio? Will I be able to set it up in a ha-core (dockered) ?

Yes, official component, no custom stuff needed anymore... Likely for
release 114 or 115...
Op di 4 aug. 2020 08:46 schreef Osiris notifications@github.com:

you mean there will be a plugin for hassio? Will I be able to set it up in
a ha-core (dockered) ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22#issuecomment-668412570,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKJ7LQF3HBHJZ7E3CYKHSRTR66VD5ANCNFSM4ICGQ54A
.

here is PR : https://github.com/home-assistant/core/pull/36930

@mancioshell @lucacalcaterra
Time to say goodbye!!
wanted to thank you guys fior making this possible with those 2 nice containers
really liked it, but since its now integrated into HA 115.0 , not need it anymore
tnx to @onfreund
thnx again for all your hard work
PS: Public API will be available in jan 2021 , if i have more info, i ley you know

Risco cloud 5.4.0 was installed today. Anybody has updates about API?

i think its still down, lets hope it comes back soon

oh, and yes, public API is not scheduled for 5.4 , probably 5.5 or 5.6

4 Jan 2021 - 12 Jul 2019 = 542 days or ~1.5 years. Looks like Risco will never make any public API. If you think otherwise - let me know.

4 Jan 2021 - 12 Jul 2019 = 542 days or ~1.5 years. Looks like Risco will never make any public API. If you think otherwise - let me know.

4 Jan 2021 - 12 Jul 2019 = 542 days or ~1.5 years. Looks like Risco will never make any public API. If you think otherwise - let me know.

I'm agree with you :-(

4 Jan 2021 - 12 Jul 2019 = 542 days or ~1.5 years. Looks like Risco will never make any public API. If you think otherwise - let me know.

I'm agree with you :-(

It's coming, just hold on, normally in 5.4

It's coming, just hold on, normally in 5.4

OK, I shall wait as I am quite new to this, but would like very much to see it and be able to interact with the alarm system from my own app.

OK, I shall wait as I am quite new to this, but would like very much to see it and be able to interact with the alarm system from my own app.

IMHO... don't need so much API. grab an api capture software like postman and start to develop your own app..

IMHO... don't need so much API. grab an api capture software like postman and start to develop your own app..

So, in this particular case, you mean your own approach (based on szlaskidaniel's homebridge-risco-alarm project). Basically, trace the net traffic and try to mimic it with one's own application?

So, in this particular case, you mean your own approach (based on szlaskidaniel's homebridge-risco-alarm project). Basically, trace the net traffic and try to mimic it with one's own application?

One more thing, if I may: where does the POST request go? Is riscocloud server its destination and then it is them who either interrogates the given system or simply serves the very last status it knows about it? You see: my devices which I would love to interface with the alarm system are on the same LAN as the system in question. It would be way more secure (I presume) not to go outside of that LAN to at least find out the status of the alarm zones, etc. I guess, if they published the API it could make it possible.

One more thing, if I may: where does the POST request go? Is riscocloud server its destination and then it is them who either interrogates the given system or simply serves the very last status it knows about it? You see: my devices which I would love to interface with the alarm system are on the same LAN as the system in question. It would be way more secure (I presume) not to go outside of that LAN to at least find out the status of the alarm zones, etc. I guess, if they published the API it could make it possible.

No API is for cloud, not lan :-)

No API is for cloud, not lan :-)

Ohhh..... I see. So there is no way to interact with the alarm over LAN then?

Ohhh..... I see. So there is no way to interact with the alarm over LAN then?

No, not official

No, not official

Not good. But hey, maybe some unofficial ways are good, too. As long as they work reliably. I am only interested in fetching the status, not in control.

Not good. But hey, maybe some unofficial ways are good, too. As long as they work reliably. I am only interested in fetching the status, not in control.

armed / disarmed status?? well what i did before, i created a seperate user on riscocloud before, with a seperate mailbox
for each arm/disarm state, i sended a mail
in HA , i created a Imap email sensor, based on body of the text i had my state...

armed / disarmed status?? well what i did before, i created a seperate user on riscocloud before, with a seperate mailbox
for each arm/disarm state, i sended a mail
in HA , i created a Imap email sensor, based on body of the text i had my state...

If you can place a proxy between your alarm system and the cloud, you can try to reverse engineer that protocol, and then we can try to build a local integration.
@pergolafabio sent me this once as a good starting point:
https://cybergibbons.com/alarms-2/vulnerability-in-risco-lightsys-protocol-encryption/

If you can place a proxy between your alarm system and the cloud, you can try to reverse engineer that protocol, and then we can try to build a local integration.
@pergolafabio sent me this once as a good starting point:
https://cybergibbons.com/alarms-2/vulnerability-in-risco-lightsys-protocol-encryption/

If you can place a proxy between your alarm system and the cloud, you can try to reverse engineer that protocol, and then we can try to build a local integration.
@pergolafabio sent me this once as a good starting point:
https://cybergibbons.com/alarms-2/vulnerability-in-risco-lightsys-protocol-encryption/

Even if protocol has not been changed... so for me the way acting on cloud is more flexible..

If you can place a proxy between your alarm system and the cloud, you can try to reverse engineer that protocol, and then we can try to build a local integration.
@pergolafabio sent me this once as a good starting point:
https://cybergibbons.com/alarms-2/vulnerability-in-risco-lightsys-protocol-encryption/

Even if protocol has not been changed... so for me the way acting on cloud is more flexible..

Changing this protocol requires changing the firmware on all devices. I wouldn't expect that to happen often. The APIs we have now (reverse engineered app api + scraping based api), are easy to change, though...

Changing this protocol requires changing the firmware on all devices. I wouldn't expect that to happen often. The APIs we have now (reverse engineered app api + scraping based api), are easy to change, though...

What does

scraping based API
mean?
Also, I have two concerns. The first is probably nothing major - I guess the solution based on the cloud is secure enough (as it is used with https). Another issue is: I want to periodically poll the site (my alarm system) for status - isn't RISCO finally get annoyed or start suspecting me of trying to break into the system? I am interested in arm/disarm status for zones/partitions.

What does

scraping based API
mean?
Also, I have two concerns. The first is probably nothing major - I guess the solution based on the cloud is secure enough (as it is used with https). Another issue is: I want to periodically poll the site (my alarm system) for status - isn't RISCO finally get annoyed or start suspecting me of trying to break into the system? I am interested in arm/disarm status for zones/partitions.

The scraping approach is what's used in this project here.
I don't know how many, but lots of people are using this project, the other one based on the app api, and the native integration in HA, without Risco getting "annoyed".

The scraping approach is what's used in this project here.
I don't know how many, but lots of people are using this project, the other one based on the app api, and the native integration in HA, without Risco getting "annoyed".

All integrations in Openhab and HomeAssistant (native even) use Risco Cloud Api... my project oldest API and others project evolution (@mancioshell i.e) use newer mobile cloud api... Even there are not official Risco API Docs, we "hack" communications. So... no worry about "annoying" Risco , you acting as a normal user!

All integrations in Openhab and HomeAssistant (native even) use Risco Cloud Api... my project oldest API and others project evolution (@mancioshell i.e) use newer mobile cloud api... Even there are not official Risco API Docs, we "hack" communications. So... no worry about "annoying" Risco , you acting as a normal user!

The mobile app receives a status every 15 seconds.

The mobile app receives a status every 15 seconds.

Even there are not official Risco API Docs, we "hack" communications. So... no worry about "annoying" Risco , you acting as a normal user!
Yes, I fully understand this. My only concern was the frequency (rate) of requests sent out to RISCO.

The mobile app receives a status every 15 seconds.

Does it mean the app actively requests it every 15 seconds by POSTing a request to RISO cloud?

Even there are not official Risco API Docs, we "hack" communications. So... no worry about "annoying" Risco , you acting as a normal user!
Yes, I fully understand this. My only concern was the frequency (rate) of requests sent out to RISCO.

The mobile app receives a status every 15 seconds.

Does it mean the app actively requests it every 15 seconds by POSTing a request to RISO cloud?

Does it mean the app actively requests such status every 15 seconds by POSTing a request to RISO cloud?

I think so.

Does it mean the app actively requests such status every 15 seconds by POSTing a request to RISO cloud?

I think so.

Just checked in Chromium's Developer's Tools: GetCPState() requests are posted every ~6 seconds. Soo... good! That's what I need. I think the only issue is the eventual expiry of the session. Must analyze how it is handled here (in this project). I am sure it must be covered. Perhaps the session shall be refreshed every not and then.

Just checked in Chromium's Developer's Tools: GetCPState() requests are posted every ~6 seconds. Soo... good! That's what I need. I think the only issue is the eventual expiry of the session. Must analyze how it is handled here (in this project). I am sure it must be covered. Perhaps the session shall be refreshed every not and then.

The session expires every hour, and then you need to login again

The session expires every hour, and then you need to login again

That's what I thought. Thanks!

That's what I thought. Thanks!

Yes! Shorter delay too..
Il Ven 15 Gen 2021, 20:29 Piotr Świątkiewicz notifications@github.com ha
scritto:

Even there are not official Risco API Docs, we "hack" communications.
So... no worry about "annoying" Risco , you acting as a normal user!
Yes, I fully understand this. My only concern was the frequency (rate) of
requests sent out to RISCO.
The mobile app receives a status every 15 seconds.
Does it mean the app actively requests it every 15 seconds by POSTing a
request to RISO cloud?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22#issuecomment-761146556,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGWZUMW6HIUQ4YO6EVXRELS2CJPZANCNFSM4ICGQ54A
.

Yes! Shorter delay too..
Il Ven 15 Gen 2021, 20:29 Piotr Świątkiewicz notifications@github.com ha
scritto:

Even there are not official Risco API Docs, we "hack" communications.
So... no worry about "annoying" Risco , you acting as a normal user!
Yes, I fully understand this. My only concern was the frequency (rate) of
requests sent out to RISCO.
The mobile app receives a status every 15 seconds.
Does it mean the app actively requests it every 15 seconds by POSTing a
request to RISO cloud?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lucacalcaterra/risco-mqtt-bridge/issues/22#issuecomment-761146556,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGWZUMW6HIUQ4YO6EVXRELS2CJPZANCNFSM4ICGQ54A
.

authors: OnFreund TrueOsiris crokdh drash1 filmgarage lucacalcaterra mancioshell pbda pergolafabio pswiatki rob1981forest

repo: lucacalcaterra/risco-mqtt-bridge


text:
🛑 Allinea Pilates is down

In ac6cf94, Allinea Pilates (https://allineapilates.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Allinea Pilates is back up in 7a78e24 after 29 minutes.

repo: lucasboh/upptime


text:
Modify Module Search Order

Is there a way to modify the module search order when running the gui after selecting a dll?  I see that there is a shortcut for viewing the search order (Maj + m), but was not seeing a clear way to add a directory to the list that appears in the dialog window.  This looks more informational than something I would be able to modify.

Unfortunately not for now, but it's in the backlog. There is currently application-wide settings, but no per binary configuration which can store what you ask. Once I've done it, it should be easier to add user supplied directories.
L.

You can now modify the binary's working directory and add custom search folders by clicking "Options/Customize search folders" :

However you can't modify the module search order since Dependencies is trying to replicate NT's loader behavior.

Great!  Thanks for implementing this, will definitely be useful in my use cases.

authors: cschermerhorn lucasg

repo: lucasg/Dependencies

license: mit


text:
🛑 Site: music.teapot.ovh (subsonic) is down

In f7e8f5b, Site: music.teapot.ovh (subsonic) (https://music.teapot.ovh) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Site: music.teapot.ovh (subsonic) is back up in a1643ac after 12 minutes.