# Trigger Simulation Dead?

**URL:** <https://forum.hamalert.org/t/trigger-simulation-dead/458>\
**Category:** Support\
**Created:** [December 15, 2023, 3:39pm UTC](https://forum.hamalert.org/t/trigger-simulation-dead/458 "2023-12-15T15:39:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DG8OBN](https://forum.hamalert.org/user_avatar/forum.hamalert.org/dg8obn/32/9_2.png) [@DG8OBN](https://forum.hamalert.org/u/DG8OBN)\
**Post date:** [December 15, 2023, 3:39pm UTC](https://forum.hamalert.org/t/trigger-simulation-dead/458/1 "2023-12-15T15:39:43Z")

</div>

After creating my triggers for missing DXCCs per band, I did not receive any spot.  
Which could mean, that there simply are no spots or my triggers do not work properly.  
So I tried to simulate but did not receive any spot.  
I observed the same behaviour with a manually created spot.  
The triggers aren’t very complex so they shoud be setup fine.  
Any idea, what’s wrong?

 ![grafik](https://forum.hamalert.org/uploads/default/original/1X/1af79f2f4a4d164e0319bd6548b841c482a22cda.png)

---

<div class="post-metadata">

**Author:** ![HB9DQM](https://forum.hamalert.org/user_avatar/forum.hamalert.org/hb9dqm/32/5_2.png) [@HB9DQM](https://forum.hamalert.org/u/HB9DQM)\
**Post date:** [December 15, 2023, 8:21pm UTC](https://forum.hamalert.org/t/trigger-simulation-dead/458/2 "2023-12-15T20:21:08Z")

</div>

Works fine for me. Could you post a screenshot of your simulated spot parameters so I can try to reproduce the issue?

---

<div class="post-metadata">

**Author:** ![DG8OBN](https://forum.hamalert.org/user_avatar/forum.hamalert.org/dg8obn/32/9_2.png) [@DG8OBN](https://forum.hamalert.org/u/DG8OBN)\
**Post date:** [December 15, 2023, 9:12pm UTC](https://forum.hamalert.org/t/trigger-simulation-dead/458/3 "2023-12-15T21:12:40Z")

</div>

Sure… I tried T6A and a ZA call previously.  
This should match the first trigger for 10m ssb spots.

 ![grafik](https://forum.hamalert.org/uploads/default/original/1X/e69c8f62e5cd5ac89e7c65bd555e7c27bf2e00d3.png)

---

<div class="post-metadata">

**Author:** ![HB9DQM](https://forum.hamalert.org/user_avatar/forum.hamalert.org/hb9dqm/32/5_2.png) [@HB9DQM](https://forum.hamalert.org/u/HB9DQM)\
**Post date:** [December 17, 2023, 3:00pm UTC](https://forum.hamalert.org/t/trigger-simulation-dead/458/4 "2023-12-17T15:00:40Z")

</div>

I think I found the reason why this didn’t work for you. The DXCC numbers in your triggers were stored as strings rather than integers in the backend database. The web interface does not care about that, but the matching engine does. I assume it’s related to this:

> [@JSON download/upload of triggers](https://forum.hamalert.org/t/json-download-upload-of-triggers/16/3):
>
> I have created a script in PowerShell to create triggers for all missing DXCCs per band. Maybe this is useful for others so I make it available here: How to use it: Put all provided files to a folder, e.g. “c:\temp\hamalert”. Export an ADIF file to this location. Login at [hamalert.org](http://hamalert.org) and open the developer tools from your browser. Locate the PHP Session cookie for [hamalert.org](http://hamalert.org) and copy the value into your clipboard. Open the powershell script with an editor and fill in all needed informa…

I fixed your triggers in the DB, so it should work now.

---

<div class="post-metadata">

**Author:** ![DG8OBN](https://forum.hamalert.org/user_avatar/forum.hamalert.org/dg8obn/32/9_2.png) [@DG8OBN](https://forum.hamalert.org/u/DG8OBN)\
**Post date:** [December 17, 2023, 3:38pm UTC](https://forum.hamalert.org/t/trigger-simulation-dead/458/5 "2023-12-17T15:38:08Z")

</div>

Hey Manuel… many thanks. Indeed, I received the first alert around 16:00 CET.  
Sorry for causing trouble. So I assume, I have to make sure, that the DXCC array in JSON is without double quotes to be recognized as integer.

---

<div class="post-metadata">

**Author:** ![DG8OBN](https://forum.hamalert.org/user_avatar/forum.hamalert.org/dg8obn/32/9_2.png) [@DG8OBN](https://forum.hamalert.org/u/DG8OBN)\
**Post date:** [December 17, 2023, 6:10pm UTC](https://forum.hamalert.org/t/trigger-simulation-dead/458/6 "2023-12-17T18:10:00Z")

</div>

Issue was fixed and tested. Now the script should work fine.  
Thanks again for supporting the unsupported JSON endpoint. 🙂
