# Bus info screen

**URL:** <https://community.info-beamer.com/t/bus-info-screen/1366>\
**Category:** Help\
**Created:** [August 15, 2025, 1:19pm UTC](https://community.info-beamer.com/t/bus-info-screen/1366 "2025-08-15T13:19:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![viktor.tanko](https://community.info-beamer.com/user_avatar/community.info-beamer.com/viktor.tanko/32/850_2.png) [@viktor.tanko](https://community.info-beamer.com/u/viktor.tanko)\
**Post date:** [August 15, 2025, 1:19pm UTC](https://community.info-beamer.com/t/bus-info-screen/1366/1 "2025-08-15T13:19:54Z")

</div>

Hi All,

I would like to create an information screen for my son’s primary school. There are two small bus stops, and the buses are regularly delayed, sometimes by several tens of minutes. I would like to put the screen in the school lobby so the kids can see it and decide to wait inside instead of stepping outside and hoping for the bus.

I have created a simple Python script that grabs bus data from a local bus carrier, but I am having trouble updating the values on screen. I would like to run this grabing script in my household and send only neccessary value updates over api, because I don’t have good access to the school’s network. It should be as simple as possible on the school’s end.

I forked the package-screen-info repository and tried adding a line with a variable that I can modify.  
Repo: [GitHub - Vitaris/package-screen-info](https://github.com/Vitaris/package-screen-info)

I modified the util.DataMapper, which was used in the example:  
[node.lua](https://github.com/Vitaris/package-screen-info/blob/master/node.lua)

I tried modifying the variable with this command:  
`curl.exe -u ":$env:IB_KEY" -d "data=value 123" https://info-beamer.com/api/v1/device/$DEVICE/node/root`

I’m getting an OK response from the curl command, but nothing is happening on the screen.

I believe this is an easy thing to do, and I would be grateful for any assistance.  
Thanks, Viktor

---

<div class="post-metadata">

**Author:** ![infobeamer-fw](https://community.info-beamer.com/user_avatar/community.info-beamer.com/infobeamer-fw/32/3_2.png) [@infobeamer-fw](https://community.info-beamer.com/u/infobeamer-fw)\
**Post date:** [August 16, 2025, 11:49am UTC](https://community.info-beamer.com/t/bus-info-screen/1366/2 "2025-08-16T11:49:18Z")

</div>

Two issues:

- In your Python code you use api.value which doesn’t exists and prevents the `service` from starting. Remove line 26 and 28 from [here](https://github.com/Vitaris/package-screen-info/blob/9feb80b8c0f80172f7a2ee58c52c7166ecb5de29/service#L26-L28).
- Your API call is incorrect. Use:

```auto
curl -u:${API_KEY} \
  https://info-beamer.com/api/v1/device/${DEVICE_ID}/node/root/value \
  -d 'data=this is a test'

```

`root` within the path addresses the top-level node.lua code, while the appended `value` is then dispatched into data\_mapper.

This successfully changes the Value: row in on screen. Hope that helps.

---

<div class="post-metadata">

**Author:** ![viktor.tanko](https://community.info-beamer.com/user_avatar/community.info-beamer.com/viktor.tanko/32/850_2.png) [@viktor.tanko](https://community.info-beamer.com/u/viktor.tanko)\
**Post date:** [August 20, 2025, 7:39pm UTC](https://community.info-beamer.com/t/bus-info-screen/1366/3 "2025-08-20T19:39:41Z")

</div>

Great! It works now. Thank you!

Best regards,  
Viktor
